Unique strings list class.
More...
#import <SCUniqueStrings.h>
Unique strings list class.
- SDK
- macOS 10.6+, iOS 7.0+, GNUstep
- Since
- version 1.2.0
Class SCUniqueStrings extends the parent class SCString by adding the functionality for support the unique strings lists - each string of this list must be unique. Class SCUniqueStrings instances does not allow adding into the list the duplicated strings. Duplicate string is a string, which is already exists within the list.
Class instances can thrown the following exceptions:
Initializes an unique strings list using strings from the specified existing unique strings list.
- Parameters
-
strings | - the source unique strings list |
- Returns
- A newly initialized unique strings list
- Exceptions
-
Returns a boolean value that indicates whether the content of the receiving unique strings list is equal to the content of another given unique strings list.
- Parameters
-
uniqueStrings | - the unique strings list with which to compare the receiving unique strings list |
- Returns
- YES if the content of other unique strings list is equal to the content of the receiving unique strings list, otherwise NO
Replaces the content and settings of the receiving unique strings list by using the content and settings from the specified existing unique strings list.
- Parameters
-
uniqueStrings | - the source unique strings list |
- Exceptions
-
+ (instancetype) uniqueStrings |
|
|
|
Returns an empty unnamed unique strings list created by using the default settings.
- Returns
- A created unique strings list
+ (instancetype) uniqueStringsWithCoder: |
|
(NSCoder *) |
coder |
|
Returns an unique strings list created by using the specified coder.
- Parameters
-
- Returns
- A created unique strings list
+ (instancetype) uniqueStringsWithCollection: |
|
(id<SCCollection>) |
collection |
|
Returns an unique strings list created by using the strings from the specified existing collection of any supported type.
- Parameters
-
collection | - the source collection |
- Returns
- A created unique strings list
- Exceptions
-
+ (instancetype) uniqueStringsWithContentsOfSerializedFile: |
|
(NSString *) |
path |
|
Returns an unique strings list created by using the contents of serialized file with the specified path.
- Parameters
-
path | - the path of the source serialized file |
- Returns
- A created unique strings list
+ (instancetype) uniqueStringsWithDataDictionary: |
|
(NSDictionary *) |
dictionary |
|
Returns an unique strings list created by using the specified data dictionary.
- Parameters
-
dictionary | - the source data dictionary |
- Returns
- A created unique strings list
+ (instancetype) uniqueStringsWithDataDictionaryFromFile: |
|
(NSString *) |
path |
|
Returns an unique strings list created by using the data dictionary from the specified file.
- Parameters
-
path | - the path of the source data dictionary file |
- Returns
- A created unique strings list
+ (instancetype) uniqueStringsWithFileStream: |
|
(NSString *) |
path |
|
Returns an unique strings list created by using the data from the file stream with the specified path.
- Parameters
-
path | - the path to the source stream file |
- Returns
- A created unique strings list
- Exceptions
-
+ (instancetype) uniqueStringsWithName: |
|
(NSString *) |
name |
|
Returns an unique strings list created by using the specified list name.
- Parameters
-
- Returns
- A created unique strings list
+ (instancetype) uniqueStringsWithStream: |
|
(SCStream *) |
stream |
|
Returns an unique strings list created by using the data from the specified stream.
- Parameters
-
stream | - the source stream |
- Returns
- A created unique strings list
- Exceptions
-
+ (instancetype) uniqueStringsWithString: |
|
(NSString *) |
string |
|
Returns an unique strings list created by using the specified existing source string.
- Parameters
-
string | - the source string |
- Returns
- A created unique strings list
- Exceptions
-
+ (instancetype) uniqueStringsWithStrings: |
|
(SCStrings *) |
strings |
|
Returns an unique strings list created by using the strings from the specified existing source strings list.
- Parameters
-
strings | - the source strings list |
- Returns
- A created unique strings list
- Exceptions
-
+ (instancetype) uniqueStringsWithUniqueStrings: |
|
(SCUniqueStrings *) |
uniqueStrings |
|
Returns an unqiue strings list created by using the strings from the specified existing source unique strings list.
- Parameters
-
uniqueStrings | - the source unique strings list |
- Returns
- A created unique strings list
- Exceptions
-
- (NSOrderedSet *) foundationOrderedSet |
|
readnonatomicretain |
Returns a standard ordered set with the copy of all receiving unique strings list strings.
Returns an ordered set with the copy of all receiving unique strings list strings.
Returns a strings list with the copy of all receiving unique strings list strings.
Determines the mandatory exception generation when string unique violation is detected.
The documentation for this class was generated from the following files: