Unique strings list class.
More...
#import <SCUniqueStrings.h>
Unique strings list class.
- 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 | - existing 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 | - 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 | - existing source unique strings list |
- Exceptions
-
Returns an empty unnamed unique strings list created by using the default settings.
- Returns
- A created unique strings list
Returns an unique strings list created by using the specified coder.
- Parameters
-
- Returns
- A created unique strings list
Returns an unique strings list created by using the strings from the specified existing collection of any supported type.
- Parameters
-
collection | - existing source collection |
- Returns
- A created unique strings list
- Exceptions
-
+ (SCUniqueStrings *) uniqueStringsWithContentsOfSerializedFile: |
|
(NSString *) |
path |
|
Returns an unique strings list created by using the contents of serialized file with the specified path.
- Parameters
-
path | - source serialized file path |
- Returns
- A created unique strings list
+ (SCUniqueStrings *) uniqueStringsWithDataDictionary: |
|
(NSDictionary *) |
dictionary |
|
Returns an unique strings list created by using the specified data dictionary.
- Parameters
-
dictionary | - source data dictionary |
- Returns
- A created unique strings list
+ (SCUniqueStrings *) uniqueStringsWithDataDictionaryFromFile: |
|
(NSString *) |
path |
|
Returns an unique strings list created by using the data dictionary from the specified file.
- Parameters
-
path | - source data dictionary file path |
- Returns
- A created unique strings list
Returns an unique strings list created by using the data from the file stream with the specified path.
- Parameters
-
path | - source stream file path |
- Returns
- A created unique strings list
- Exceptions
-
Returns an unique strings list created by using the specified list name.
- Parameters
-
- Returns
- A created unique strings list
Returns an unique strings list created by using the data from the specified stream.
- Parameters
-
- Returns
- A created unique strings list
- Exceptions
-
Returns an unique strings list created by using the specified existing source string.
- Parameters
-
string | - existing source string |
- Returns
- A created unique strings list
- Exceptions
-
Returns an unique strings list created by using the strings from the specified existing source strings list.
- Parameters
-
strings | - existing source strings list |
- Returns
- A created unique strings list
- Exceptions
-
Returns an unqiue strings list created by using the strings from the specified existing source unique strings list.
- Parameters
-
uniqueStrings | - existing 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: