|
Samond Classes Library 1.1.6-RELEASE build 132
|
Strings list class. More...
#import <SCStrings.h>
Strings list class.
Class implements the list of strings as a single object.
Class was introduced in version 1.1.4.
Class declares the following properties:
| - (void) addLine |
Adds into the receiving strings list the empty line.
| SCTextException | - strings list error detected |
| - (void) addString: | (NSString *) | string |
Adds into the receiving strings list the specified string.
| string | - added string |
| SCTextException | - strings list error detected |
| - (void) addStrings: | (NSString *) | string | |
| , | ... | ||
Adds into the strings list the specified strings.
| string | - first string |
| ... | - other strings with nil terminate |
| SCTextException | - strings list error detected |
| - (void) addStringsFromCollection: | (id) | collection |
Adds into the receiving strings list the strings from the specified existing collection.
| collection | - existing source collection |
| SCTextException | - strings list error detected |
| - (void) addStringsFromList: | (SCStrings *) | list |
Adds into the receiving strings list the strings from the specified existing strings list.
| list | - existing source strings list |
| SCTextException | - strings list error detected |
| - (SCArray *) array |
Returns the array with the copy of all receiving strings list strings.
| - (void) backwardMoveStringAtIndex: | (SCIndex) | index |
Moves the string at the specified index to an one position to the bottom of the strings list.
| index | - moved string index |
| SCTextException | - strings list error detected |
Moves the string at the specified index to a given count of positions to the bottom of the list.
| index | - moved string index |
| steps | - count of positions |
| SCTextException | - strings list error detected |
| - (SCBidirectionalList *) bidirectionalList |
Returns the bidirectional list with the copy of all receiving strings list strings.
| - (SCULong) capacity |
Returns the maximum size of the receiving strings list.
| - (BOOL) caseInsensitive |
Determines whether the search and comparison operations are case insensitive.
| - (BOOL) containsAnyString: | (NSString *) | string | |
| , | ... | ||
Returns a Boolean value that indicates whether the receiving strings list contains at least one string from the specified nil terminated list.
| string | - fist desired string |
| ... | - other desired string |
| - (BOOL) containsAnyStringFromCollection: | (id) | collection |
Returns a Boolean value that indicates whether the receiving strings list contains at least one object from the specified collection.
| collection | - source collection |
| SCTextException | - strings list error detected |
| - (BOOL) containsAnyStringFromCollection: | (id) | collection | |
| caseInsensitive: | (BOOL) | value | |
Returns a Boolean value that indicates whether the receiving strings list contains at least one object from the specified collection. Case insensitively depends on the value of the specified flag.
| collection | - source collection |
| value | - YES for the case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (BOOL) containsAnyStringFromList: | (SCStrings *) | list |
Returns a Boolean value that indicates whether the receiving strings list contains at least one string from the specified strings list.
| list | - source strings list |
| SCTextException | - strings list error detected |
| - (BOOL) containsAnyStringFromList: | (SCStrings *) | list | |
| caseInsensitive: | (BOOL) | value | |
Returns a Boolean value that indicates whether the receiving strings list contains at least one string from the specified strings list. Case insensitively depends on the value of the specified flag.
| list | - source strings list |
| value | - YES for the case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (BOOL) containsAnySubstring: | (NSString *) | substring | |
| , | ... | ||
Returns a Boolean value that indicates whether the receiving strings list contains at least one substring from the specified nil terminated list.
| substring | - first desired substring |
| ... | - other desired substrings |
| - (BOOL) containsAnySubstringFromCollection: | (id) | collection |
Returns a Boolean value that indicates whether the receiving strings list contains at least one substring from the specified collection.
| collection | - collection with the desired substrings |
| SCTextException | - strings list error detected |
| - (BOOL) containsAnySubstringFromCollection: | (id) | collection | |
| caseInsensitive: | (BOOL) | value | |
Returns a Boolean value that indicates whether the receiving strings list contains at least one substring from the specified collection. Case insensitively depends on the value of the specified flag.
| collection | - collection with the desired substrings |
| value | - YES for the case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (BOOL) containsAnySubstringFromList: | (SCStrings *) | list |
Returns a Boolean value that indicates whether the receiving strings list contains at least one substring from the specified strings list.
| list | - strings list with the desired substrings |
| SCTextException | - strings list error detected |
| - (BOOL) containsAnySubstringFromList: | (SCStrings *) | list | |
| caseInsensitive: | (BOOL) | value | |
Returns a Boolean value that indicates whether the receiving strings list contains at least one substring from the specified strings list. Case insensitively depends on the value of the specified flag.
| list | - strings list with the desired substrings |
| value | - YES for the case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (BOOL) containsDuplicatedStrings |
Returns a Boolean value that indicates whether the receiving strings list contains at least one duplicated string.
| - (BOOL) containsString: | (NSString *) | string |
Returns a Boolean value that indicates whether a given string is present in the receiving strings list.
| string | - desired string |
| - (BOOL) containsString: | (NSString *) | string | |
| caseInsensitive: | (BOOL) | value | |
Returns a Boolean value that indicates whether a given string is present in the receiving strings list. Case insensitively depends on the value of the specified flag.
| string | - desired string |
| value | - YES for the case insensitive comparison operations, otherwise NO |
| - (BOOL) containsStrings: | (NSString *) | string | |
| , | ... | ||
Returns a Boolean value that indicates whether the receiving strings list contains the all strings from the specified nil terminated list.
| string | - fist desired string |
| ... | - other desired strings |
| - (BOOL) containsStringsFromCollection: | (id) | collection |
Returns a Boolean value that indicates whether the receiving strings list contains the all strings from the specified collection.
| collection | - source collection |
| SCTextException | - strings list error detected |
| - (BOOL) containsStringsFromCollection: | (id) | collection | |
| caseInsensitive: | (BOOL) | value | |
Returns a Boolean value that indicates whether the receiving strings list contains the all strings from the specified collection. Case insensitively depends on the value of the specified flag.
| collection | - source collection |
| value | - YES for the case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (BOOL) containsStringsFromList: | (SCStrings *) | list |
Returns a Boolean value that indicates whether the receiving strings list contains the all strings from the specified strings list.
| list | - source strings list |
| SCTextException | - strings list error detected |
| - (BOOL) containsStringsFromList: | (SCStrings *) | list | |
| caseInsensitive: | (BOOL) | value | |
Returns a Boolean value that indicates whether the receiving strings list contains the all strings from the specified strings list. Case insensitively depends on the value of the specified flag.
| list | - source strings list |
| value | - YES for the case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (BOOL) containsSubstring: | (NSString *) | substring |
Returns a Boolean value that indicates whether the receiving strings list contains the specified substring.
| substring | - desired substring |
| - (BOOL) containsSubstring: | (NSString *) | substring | |
| caseInsensitive: | (BOOL) | value | |
Returns a Boolean value that indicates whether the receiving strings list contains the specified substring. Case insensitively depends on the value of the specified flag.
| substring | - desired substring |
| value | - YES for the case insensitive comparison operations, otherwise NO |
| - (BOOL) containsSubstrings: | (NSString *) | substring | |
| , | ... | ||
Returns a Boolean value that indicates whether the receiving strings list contains all of substrings from the specified nil terminated list.
| substring | - first desired substring |
| ... | - other desired substrings |
| - (BOOL) containsSubstringsFromCollection: | (id) | collection |
Returns a Boolean value that indicates whether the receiving strings list contains all of substrings from the specified collection.
| collection | - collection with the desired substrings |
| SCTextException | - strings list error detected |
| - (BOOL) containsSubstringsFromCollection: | (id) | collection | |
| caseInsensitive: | (BOOL) | value | |
Returns a Boolean value that indicates whether the receiving strings list contains all of substrings from the specified collection. Case insensitively depends on the value of the specified flag.
| collection | - collection with the desired substrings |
| value | - YES for the case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (BOOL) containsSubstringsFromList: | (SCStrings *) | list |
Returns a Boolean value that indicates whether the receiving strings list contains all of substrings from the specified strings list.
| list | - strings list with the desired substrings |
| SCTextException | - strings list error detected |
| - (BOOL) containsSubstringsFromList: | (SCStrings *) | list | |
| caseInsensitive: | (BOOL) | value | |
Returns a Boolean value that indicates whether the receiving strings list contains all of substrings from the specified strings list. Case insensitively depends on the value of the specified flag.
| list | - strings list with the desired substrings |
| value | - YES for the case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (BOOL) containsWithCaseInsensitive: | (BOOL) | value | |
| anyString: | (NSString *) | string | |
| , | ... | ||
Returns a Boolean value that indicates whether the receiving strings list contains at least one string from the specified nil terminated list. Case insensitively depends on the value of the specified flag.
| value | - YES for the case insensitive comparison operations, otherwise NO |
| string | - fist desired string |
| ... | - other desired string |
| - (BOOL) containsWithCaseInsensitive: | (BOOL) | value | |
| anySubstring: | (NSString *) | substring | |
| , | ... | ||
Returns a Boolean value that indicates whether the receiving strings list contains at least one substring from the specified nil terminated list. Case insensitively depends on the value of the specified flag.
| value | - YES for the case insensitive comparison operations, otherwise NO |
| substring | - first desired substring |
| ... | - other desired substrings |
| - (BOOL) containsWithCaseInsensitive: | (BOOL) | value | |
| strings: | (NSString *) | string | |
| , | ... | ||
Returns a Boolean value that indicates whether the receiving strings list contains the all strings from the specified nil terminated list. Case insensitively depends on the value of the specified flag.
| value | - YES for the case insensitive comparison operations, otherwise NO |
| string | - fist desired string |
| ... | - other desired strings |
| - (BOOL) containsWithCaseInsensitive: | (BOOL) | value | |
| substrings: | (NSString *) | substring | |
| , | ... | ||
Returns a Boolean value that indicates whether the receiving strings list contains all of substrings from the specified nil terminated list. Case insensitively depends on the value of the specified flag.
| value | - YES for the case insensitive comparison operations, otherwise NO |
| substring | - first desired substring |
| ... | - other desired substrings |
| - (void) copyFromCollection: | (id) | collection |
Replaces the content and settings of the receiving strings list by using the specified existing collection.
| collection | - existing collection |
| SCTextException | - strings list error detected |
| - (void) copyFromList: | (SCStrings *) | list |
Replaces the content and settings of the receiving strings list by using the specified existing strings list.
| list | - existing strings list |
| SCTextException | - strings list error detected |
| - (void) copyFromString: | (NSString *) | string |
Replaces the content of the receiving strings list by using the specified existing string.
| string | - existing string |
| SCTextException | - strings list error detected |
| - (void) copyFromStrings: | (NSString *) | string | |
| , | ... | ||
Replaces the receiving strings list content by the strings from the specified nil terminated list.
| string | - first source string |
| ... | - other strings nil terminated list |
| SCTextException | - strings list error detected |
| - (void) copySortedAscendingFromCollection: | (id) | collection |
Replaces the content and settings of the receiving strings list of ascending sorted content and settings from the specified existing collection with using the default sorting algorithm.
| collection | - existing collection |
| SCCollectionException | - collection error detected |
| SCTextException | - strings list error detected |
| - (void) copySortedAscendingFromCollection: | (id) | collection | |
| usingMethod: | (id<SCSortingProtocol>) | method | |
Replaces the content and settings of the receiving strings list of ascending sorted content and settings from the specified existing collection with using the specified sorting algorithm.
| collection | - existing collection |
| method | - sorting algorithm |
| SCCollectionException | - collection error detected |
| SCTextException | - strings list error detected |
| - (void) copySortedAscendingFromList: | (SCStrings *) | list |
Replaces the content and settings of the receiving strings list of ascending sorted content and settings from the specified existing strings list with using the default sorting algorithm.
| list | - existing strings list |
| SCCollectionException | - collection error detected |
| SCTextException | - strings list error detected |
| - (void) copySortedAscendingFromList: | (SCStrings *) | list | |
| usingMethod: | (id<SCSortingProtocol>) | method | |
Replaces the content and settings of the receiving strings list of ascending sorted content and settings from the specified existing strings list with using the specified sorting algorithm.
| list | - existing strings list |
| method | - sorting algorithm |
| SCCollectionException | - collection error detected |
| SCTextException | - strings list error detected |
| - (void) copySortedDescendingFromCollection: | (id) | collection |
Replaces the content and settings of the receiving strings list of descending sorted content and settings from the specified existing collection with using the default sorting algorithm.
| collection | - existing collection |
| SCCollectionException | - collection error detected |
| SCTextException | - strings list error detected |
| - (void) copySortedDescendingFromCollection: | (id) | collection | |
| usingMethod: | (id<SCSortingProtocol>) | method | |
Replaces the content and settings of the receiving strings list of descending sorted content and settings from the specified existing collection with using the specified sorting algorithm.
| collection | - existing collection |
| method | - sorting algorithm |
| SCCollectionException | - collection error detected |
| SCTextException | - strings list error detected |
| - (void) copySortedDescendingFromList: | (SCStrings *) | list |
Replaces the content and settings of the receiving strings list of descending sorted content and settings from the specified existing strings list with using the default sorting algorithm.
| list | - existing strings list |
| SCCollectionException | - collection error detected |
| SCTextException | - strings list error detected |
| - (void) copySortedDescendingFromList: | (SCStrings *) | list | |
| usingMethod: | (id<SCSortingProtocol>) | method | |
Replaces the content and settings of the receiving strings list of descending sorted content and settings from the specified existing strings list with using the specified sorting algorithm.
| list | - existing strings list |
| method | - sorting algorithm |
| SCCollectionException | - collection error detected |
| SCTextException | - strings list error detected |
| - (void) copySortedFromCollection: | (id) | collection |
Replaces the content and settings of the receiving strings list of ascending sorted content and settings from the specified existing collection with using the default sorting algorithm.
| collection | - existing collection |
| SCCollectionException | - collection error detected |
| SCTextException | - strings list error detected |
| - (void) copySortedFromCollection: | (id) | collection | |
| usingMethod: | (id<SCSortingProtocol>) | method | |
Replaces the content and settings of the receiving strings list of ascending sorted content and settings from the specified existing collection with using the specified sorting algorithm.
| collection | - existing collection |
| method | - sorting algorithm |
| SCCollectionException | - collection error detected |
| SCTextException | - strings list error detected |
| - (void) copySortedFromList: | (SCStrings *) | list |
Replaces the content and settings of the receiving strings list of ascending sorted content and settings from the specified existing strings list with using the default sorting algorithm.
| list | - existing strings list |
| SCCollectionException | - collection error detected |
| SCTextException | - strings list error detected |
| - (void) copySortedFromList: | (SCStrings *) | list | |
| usingMethod: | (id<SCSortingProtocol>) | method | |
Replaces the content and settings of the receiving strings list of ascending sorted content and settings from the specified existing strings list with using the specified sorting algorithm.
| list | - existing strings list |
| method | - sorting algorithm |
| SCCollectionException | - collection error detected |
| SCTextException | - strings list error detected |
Copies the string at the specified index to a given destination index.
| index | - source index |
| destination | - destination index |
| SCTextException | - strings list error detected |
| - (SCULong) count |
Returns the count of string which stored in the receiving strings list.
| - (SCULong) countOfString: | (NSString *) | string |
Returns a count of strings from the receiving list which are equal to the specified string.
| string | - desired string |
| - (SCULong) countOfString: | (NSString *) | string | |
| caseInsensitive: | (BOOL) | value | |
Returns a count of strings from the receiving list which are equal to the specified string. Case insensitively depends on the value of the specified flag.
| string | - desired string |
| value | - YES for case insensitive comparison operations, otherwise NO |
| - (SCULong) countOfStringsWithSubstring: | (NSString *) | substring |
Returns a count of strings from the receiving list which are contains at least one occurrency of the specified substring.
| substring | - desired substring |
| - (SCULong) countOfStringsWithSubstring: | (NSString *) | substring | |
| caseInsensitive: | (BOOL) | value | |
Returns a count of strings from the receiving list which are contains at least one occurrency of the specified substring. Case insensitively depends on the value of the specified flag.
| substring | - desired substring |
| value | - YES for case insensitive comparison operations, otherwise NO |
| - (SCULong) countOfSubstring: | (NSString *) | substring |
Returns a count of substrings from the receiving list which are equal to the specified substring.
| substring | - desired string |
| - (SCULong) countOfSubstring: | (NSString *) | substring | |
| caseInsensitive: | (BOOL) | value | |
Returns a count of substrings from the receiving list which are equal to the specified substring. Case insensitively depends on the value of the specified flag.
| substring | - desired string |
| value | - YES for case insensitive comparison operations, otherwise NO |
| - (id< SCTextDelegate >) delegate |
Returns the strings list events delegate object.
| - (NSString *) description |
Returns the string with the receiving strings list description.
| - (SCDictionary *) dictionary |
Returns the dictionary with the copy of all receiving strings list strings.
| - (void) duplicate |
Duplicates content of the receving strings list.
| SCTextException | - strings list error detected |
| - (void) duplicateAllStrings |
Duplicates all strings within receiving strings list.
| SCTextException | - strings list error detected |
| - (void) duplicateStringAtIndex: | (SCIndex) | index |
Duplicates the string at the specified index.
| index | - duplicated string index |
| SCTextException | - strings list error detected |
| - (void) enumerate |
Tells the strings list delegate object for each string in the receiving strings list.
| - (void) enumerateWithDelegate: | (id<SCTextDelegate>) | delegate |
Tells the specified delegate object for each strings in the receiving strings list.
| delegate | - delegate object |
Exchanges the strings in the receiving list at given indices.
| index | - index of the first string |
| destination | - index of the second string |
| SCTextException | - strings list error detected |
| - (NSString *) firstString |
Returns the first string from the receiving strings list.
| SCTextException | - strings list error detected |
| - (void) forwardMoveStringAtIndex: | (SCIndex) | index |
Moves the string at the specified index to an one position to the top of the strings list.
| index | - moved string index |
| SCTextException | - strings list error detected |
Moves the string at the specified index to a given count of positions to the top of the list.
| index | - moved string index |
| steps | - count of positions |
| SCTextException | - strings list error detected |
| - (NSArray *) foundationArray |
Returns the foundation array with the copy of all receiving strings list strings.
| - (NSDictionary *) foundationDictionary |
Returns the foundation dictionary with the copy of all receiving strings list strings.
| - (NSSet *) foundationSet |
Returns the foundation set with the copy of all receiving strings list strings.
| - (SCLong) freeCount |
Returns the strings list free items count.
| - (BOOL) freeItemsAvailable |
Determines whether the receiving strings list have the available free space for adding items.
| - (SCIndex) indexOfLastString |
Returns the index of the last string within the receiving strings list.
| - (SCIndex) indexOfString: | (NSString *) | string |
Returns the lowest index whose corresponding strings list item is equal to a given string.
| string | - desired string |
| SCTextException | - strings list error detected |
| - (SCIndex) indexOfString: | (NSString *) | string | |
| caseInsensitive: | (BOOL) | value | |
Returns the lowest index whose corresponding strings list item is equal to a given string. Case insensitively depends on the value of the specified flag.
| string | - desired string |
| value | - YES for case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
Returns the lowest index whose corresponding strings list item after the specified index is equal to a given string.
| string | - desired string |
| index | - search start index |
| SCTextException | - strings list error detected |
| - (SCIndex) indexOfString: | (NSString *) | string | |
| fromIndex: | (SCIndex) | index | |
| caseInsensitive: | (BOOL) | value | |
Returns the lowest index whose corresponding strings list item after the specified index is equal to a given string. Case insensitively depends on the value of the specified flag.
| string | - desired string |
| index | - search start index |
| value | - YES for case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (SCIndex) indexOfSubstring: | (NSString *) | substring |
Returns the lowest index whose corresponding list string contains a given substring.
| substring | - desired substring |
| SCTextException | - strings list error detected |
| - (SCIndex) indexOfSubstring: | (NSString *) | substring | |
| caseInsensitive: | (BOOL) | value | |
Returns the lowest index whose corresponding list string contains a given substring. Case insensitively depends on the value of the specified flag.
| substring | - desired substring |
| value | - YES for case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (id) init |
Initializes a strings list using the default settings.
| - (id) initWithCapacity: | (SCULong) | capacity |
Initializes a strings list using the specified list capacity.
| capacity | - list capacity |
| - (id) initWithCollection: | (id) | collection |
Initializes a strings list using the speified existing collection.
| collection | - existing collection |
| SCTextException | - strings list error detected |
| - (id) initWithDelegate: | (id<SCTextDelegate>) | delegate |
Initializes a strings list using the specified delegate object.
| delegate | - delegate object |
| - (id) initWithList: | (SCStrings *) | list |
Initializes a strings list using the speified existing strings list.
| list | - existing strings list |
| SCTextException | - strings list error detected |
| - (id) initWithName: | (NSString *) | name |
Initializes a strings list using the specified list name.
| name | - list name |
| - (id) initWithName: | (NSString *) | name | |
| capacity: | (SCULong) | capacity | |
Initializes a strings list using the specified list name and capacity.
| name | - list name |
| capacity | - list capacity |
| - (id) initWithName: | (NSString *) | name | |
| capacity: | (SCULong) | capacity | |
| delegate: | (id<SCTextDelegate>) | delegate | |
Initializes a strings list using the specified list name, capacity and delegate object.
| name | - list name |
| capacity | - list capacity |
| delegate | - delegate object |
| - (id) initWithName: | (NSString *) | name | |
| delegate: | (id<SCTextDelegate>) | delegate | |
Initializes a strings list using the specified list name and delegate object.
| name | - list name |
| delegate | - delegate object |
| - (id) initWithString: | (NSString *) | string |
Initializes a strings list using the specified existing string.
| string | - existing string |
| SCTextException | - strings list error detected |
| - (id) initWithStrings: | (NSString *) | string | |
| , | ... | ||
Initializes a strings list using the specified nil terminated list of existing strings.
| string | - first string |
| ... | - other strings |
| SCTextException | - strings list error detected |
| - (void) insertAtIndex: | (SCIndex) | index | |
| strings: | (NSString *) | string | |
| , | ... | ||
Inserts the strings from a given nil terminated list into the receiving strings list at a given index.
| index | - index at which to insert strings |
| string | - fist adding string |
| ... | - other adding strings |
| SCTextException | - strings list error detected |
| - (void) insertAtIndexes: | (NSIndexSet *) | indexes | |
| strings: | (NSString *) | string | |
| , | ... | ||
Inserts the strings from a given nil terminated list into the receiving strings list at the specified indexes.
| indexes | - indexes at which the strings should be inserted |
| string | - first inserting string |
| ... | - other inserting strings |
| SCTextException | - strings list error detected |
| - (void) insertLineAtIndex: | (SCIndex) | index |
Inserts into the receiving strings list empty line at the specified index.
| index | - strings list index |
| SCTextException | - strings list error detected |
| - (void) insertString: | (NSString *) | string | |
| atIndex: | (SCIndex) | index | |
Inserts a given string into the contents at a given index.
| string | - inserting string |
| index | - index at which to insert string |
| SCTextException | - array error detected |
| - (void) insertStringsFromCollection: | (id) | collection | |
| atIndex: | (SCIndex) | index | |
Inserts the strings from a given collection into the receiving strings list at a given index.
| collection | - source collection |
| index | - index at which to insert strings |
| SCTextException | - strings list error detected |
| - (void) insertStringsFromCollection: | (id) | collection | |
| atIndexes: | (NSIndexSet *) | indexes | |
Inserts the strings from a given collection into the receiving strings list at the specified indexes.
| collection | - source collection |
| indexes | - indexes at which the strings should be inserted |
| SCTextException | - strings list error detected |
Inserts the strings from a given strings list into the receiving strings list at a given index.
| list | - source strings list |
| index | - index at which to insert strings |
| SCTextException | - strings list error detected |
| - (void) insertStringsFromList: | (SCStrings *) | list | |
| atIndexes: | (NSIndexSet *) | indexes | |
Inserts the strings from a given collection into the receiving strings list at the specified indexes.
| list | - source strings list |
| indexes | - indexes at which the strings should be inserted |
| SCTextException | - strings list error detected |
| - (BOOL) isEmpty |
Determines whether the receiving strings list is empty or contains at least one item.
| - (BOOL) isEqual: | (id) | object |
Returns a boolean value that indicates whether the receiver and a given object are equal.
| object | - object to be compared to the receiver |
Reimplemented from SCObject.
| - (BOOL) isEqualToCollection: | (id) | collection |
Returns a boolean value that indicates whether the contents and settings of the receiving strings list are equal to the contents and settings of given collection.
| collection | - collection with which to compare the receiving strings list |
| SCTextException | - strings list error detected |
| - (BOOL) isEqualToCollection: | (id) | collection | |
| caseInsensitive: | (BOOL) | value | |
Returns a boolean value that indicates whether the contens and settings of the receiving strings list are equal to the contents and settings of given collection. Case insensitively depends on the value of the specified flag.
| collection | - collection with which to compare the receiving strings list |
| value | - YES for case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (BOOL) isEqualToContentsOfCollection: | (id) | collection |
Returns a boolean value that indicates whether the contents of the receiving strings list are equal to the contents of given collection.
| collection | - collection with which to compare the receiving strings list |
| SCTextException | - strings list error detected |
| - (BOOL) isEqualToContentsOfCollection: | (id) | collection | |
| caseInsensitive: | (BOOL) | value | |
Returns a boolean value that indicates whether the contents of the receiving strings list are equal to the contents of given collection. Case insensitively depends on the value of the specified flag.
| collection | - collection with which to compare the receiving strings list |
| value | - YES for case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (BOOL) isEqualToContentsOfList: | (SCStrings *) | list |
Returns a boolean value that indicates whether the contents of the receiving strings list are equal to the contents of another given strings list.
| list | - strings list with which to compare the receiving strings list |
| SCTextException | - strings list error detected |
| - (BOOL) isEqualToContentsOfList: | (SCStrings *) | list | |
| caseInsensitive: | (BOOL) | value | |
Returns a boolean value that indicates whether the contents of the receiving strings list are equal to the contents of another given strings list. Case insensitively depends on the value of the specified flag.
| list | - strings list with which to compare the receiving strings list |
| value | - YES for case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (BOOL) isEqualToList: | (SCStrings *) | list |
Returns a boolean value that indicates whether the contents and settings of the receiving strings list are equal to the contents and settings of another given strings list.
| list | - strings list with which to compare the receiving strings list |
| SCTextException | - strings list error detected |
| - (BOOL) isEqualToList: | (SCStrings *) | list | |
| caseInsensitive: | (BOOL) | value | |
Returns a boolean value that indicates whether the contents and settings of the receiving strings list are equal to the contents and settings of another given strings list. Case insensitively depends on the value of the specified flag.
| list | - strings list with which to compare the receiving strings list |
| value | - YES for case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (BOOL) isModified |
Determines whether the receiving strings list has uncommitted changes.
Note: This function is implemented only in the class SCTextFile.
| - (BOOL) isReadOnly |
Determines whether the receiving strings list in read only mode.
| - (BOOL) isStrongUnique |
Determines the mandatory exception generating when duplicate string detected.
| - (BOOL) isUnique |
Determines the ability to add to the list of duplicate strings.
| - (BOOL) isUnlimited |
Determines whether the reveiving strings list have unlimited size.
| - (NSString *) lastString |
Returns the last string from the receiving strings list.
| SCTextException | - strings list error detected |
| + (SCStrings *) list |
Returns a strings list created by using the default settings.
Reimplemented in SCText.
Returns a strings list created by using the specified list capacity.
| capacity | - list capacity |
| + (SCStrings *) listWithCoder: | (NSCoder *) | coder |
Returns a strings list created by using the specified coder.
| coder | - source coder |
| + (SCStrings *) listWithCollection: | (id) | collection |
Returns a strings list created by using the specified existing collection.
| collection | - existing collection |
| SCTextException | - strings list error detected |
| + (SCStrings *) listWithContentsOfSerializedFile: | (NSString *) | path |
Returns a strings list created by using the contents of serialized file with the specified path.
| path | - source serialized file path |
| + (SCStrings *) listWithDataDictionary: | (NSDictionary *) | dictionary |
Returns a strings list created by using the specified dictionary.
| dictionary | - source dictionary |
| + (SCStrings *) listWithDataDictionaryFromFile: | (NSString *) | path |
Returns a strings list created by using the dictionary from the specified file.
| path | - source dictionary file path |
| + (SCStrings *) listWithDelegate: | (id<SCTextDelegate>) | delegate |
Returns a strings list created by using the specified delegate object.
| delegate | - delegate object |
| + (SCStrings *) listWithFileStream: | (NSString *) | path |
Returns a strings list created from the stream file with the specified path.
| path | - stream file path |
| SCStreamException | - stream operation error detected |
| SCSystemException | - system error detected |
Returns a strings list created by using the specified existing strings list.
| list | - existing strings list |
| SCTextException | - strings list error detected |
| + (SCStrings *) listWithName: | (NSString *) | name |
Returns a strings list created by using the specified list name.
| name | - list name |
Returns a strings list created by using the specified list name and capacity.
| name | - list name |
| capacity | - list capacity |
| + (SCStrings *) listWithName: | (NSString *) | name | |
| capacity: | (SCULong) | capacity | |
| delegate: | (id<SCTextDelegate>) | delegate | |
Returns a strings list created by using the specified list name, capacity and delegate object.
| name | - list name |
| capacity | - list capacity |
| delegate | - delegate object |
| + (SCStrings *) listWithName: | (NSString *) | name | |
| delegate: | (id<SCTextDelegate>) | delegate | |
Returns a strings list created by using the specified list name and delegate object.
| name | - list name |
| delegate | - delegate object |
Returns a strings list created from the specified stream.
| stream | - stream for reading array |
| SCStreamException | - stream operation error detected |
| SCSystemException | - system error detected |
Returns a strings list created from the specified stream.
| stream | - stream for reading strings list |
| SCStreamException | - stream operation error detected |
| SCSystemException | - system error detected |
| + (SCStrings *) listWithString: | (NSString *) | string |
Returns a strings list created by using the specified existing string.
| string | - existing string |
| SCTextException | - strings list error detected |
| + (SCStrings *) listWithStrings: | (NSString *) | string | |
| , | ... | ||
Returns the strings list created by using the specified nil terminated list of existing strings.
| string | - first string |
| ... | - other strings |
| SCTextException | - strings list error detected |
Moves the string at the specified index to a given destination index.
| index | - index of moved string |
| destination | - destination index |
| SCTextException | - strings list error detected |
| - (void) moveToFirstPositionStringAtIndex: | (SCIndex) | index |
Moves the string at the specified index to the first position within the strings list.
| index | - moved string index |
| SCTextException | - strings list error detected |
| - (void) moveToLastPositionStringAtIndex: | (SCIndex) | index |
Moves the string at the specified index to the last position within the strings list.
| index | - moved string index |
| SCTextException | - strings list error detected |
| - (SCQueue *) queue |
Returns the queue with the copy of all receiving strings list strings.
| - (void) removeAllStrings |
Removes all strings from the receving strings list.
| SCTextException | - strings list error detected |
| - (void) removeDuplicatedStrings |
Removes all duplicated strings.
| SCTextException | - strings list error detected |
| - (void) removeFirstString |
Removes from strings list the first string.
| SCTextException | - strings list error detected |
| - (void) removeLastString |
Removes from strings list the last string.
| SCTextException | - strings list error detected |
| - (void) removeString: | (NSString *) | string |
Removes all occurrences in the strings list of a given string.
| string | - string to remove from the strings list |
| SCTextException | - strings list error detected |
| - (void) removeString: | (NSString *) | string | |
| caseInsensitive: | (BOOL) | value | |
Removes all occurrences in the strings list of a given string. Case insensitively depends on the value of the specified flag.
| string | - string to remove from the strings list |
| value | - YES for the case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (void) removeStringAtIndex: | (SCIndex) | index |
Removes from strings list the string at the specified index.
| index | - index of the removed string |
| SCTextException | - strings list error detected |
| - (void) removeStrings: | (NSString *) | string | |
| , | ... | ||
Removes all occurrences in the strings list of the strings from the specified nil terminated list.
| string | - first string to remove from the strings list |
| ... | - other strings to remove from the strings list |
| SCTextException | - strings list error detected |
| - (void) removeStringsAtIndexes: | (NSIndexSet *) | indexes |
Removes from strings list the strings at the indexes from the specified index set.
| indexes | - deleted strings index set |
| SCTextException | - strings list error detected |
| - (void) removeStringsEqualTo: | (NSString *) | string |
Removes from the receiving strings list objects which equal to the specified string.
| string | - template string to remove from the array |
| SCTextException | - strings list error detected |
| - (void) removeStringsEqualTo: | (NSString *) | string | |
| caseInsensitive: | (BOOL) | value | |
Removes from the receiving strings list objects which equal to the specified string. Case insensitively depends on the value of the specified flag.
| string | - template string to remove from the array |
| value | - YES for case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (void) removeStringsInCollection: | (id) | collection |
Removes from the receiving strings list the strings in the specified collection.
| collection | - collection containing the strings to be removed from the receiving strings list |
| SCTextException | - strings list error detected |
| - (void) removeStringsInCollection: | (id) | collection | |
| caseInsensitive: | (BOOL) | value | |
Removes from the receiving strings list the strings in the specified collection. Case insensitively depends on the value of the specified flag.
| collection | - collection containing the strings to be removed from the receiving strings list |
| value | - YES for the case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (void) removeStringsInList: | (SCStrings *) | list |
Removes from the receiving strings list the strings in the specified strings list.
| list | - strings list containing the strings to be removed from the receiving strings list |
| SCTextException | - strings list error detected |
| - (void) removeStringsInList: | (SCStrings *) | list | |
| caseInsensitive: | (BOOL) | value | |
Removes from the receiving strings list the strings in the specified strings list. Case insensitively depends on the value of the specified flag.
| list | - strings list containing the strings to be removed from the receiving strings list |
| value | - YES for case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (void) removeStringsNotAtIndexes: | (NSIndexSet *) | indexes |
Removes from the receiving strings list strings which not present in the specified index set.
| indexes | - index set with the keeping strings |
| SCTextException | - strings list error detected |
| - (void) removeStringsNotEqualTo: | (NSString *) | string |
Removes from the receiving strings list all strings which not equal to the specified string.
| string | - template strings |
| SCTextException | - strings list error detected |
| - (void) removeStringsNotEqualTo: | (NSString *) | string | |
| caseInsensitive: | (BOOL) | value | |
Removes from the receiving strings list all strings which not equal to the specified string. Case insensitively depends on the value of the specified flag.
| string | - template strings |
| value | - YES for the case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (void) removeStringsNotInCollection: | (id) | collection |
Removes from the receiving strings list all strings which not present in the specified collection.
| collection | - strings collection |
| SCTextException | - strings list error detected |
| - (void) removeStringsNotInCollection: | (id) | collection | |
| caseInsensitive: | (BOOL) | value | |
Removes from the receiving strings list all strings which not present in the specified collection. Case insensitively depends on the value of the specified flag.
| collection | - strings collection |
| value | - YES for the case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (void) removeStringsNotInList: | (SCStrings *) | list |
Removes from the receiving strings list all strings which not present in the specified strings list.
| list | - strings list |
| SCTextException | - strings list error detected |
| - (void) removeStringsNotInList: | (SCStrings *) | list | |
| caseInsensitive: | (BOOL) | value | |
Removes from the receiving strings list all strings which not present in the specified strings list. Case insensitively depends on the value of the specified flag.
| list | - strings list |
| value | - YES for the case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (void) removeStringsWithoutSubstring: | (NSString *) | substring |
Removes all occurrences in the strings list of the strings which not contain the specified substring.
| substring | - keeping substring |
| SCTextException | - strings list error detected |
| - (void) removeStringsWithoutSubstring: | (NSString *) | substring | |
| caseInsensitive: | (BOOL) | value | |
Removes all occurrences in the strings list of the strings which not contain the specified substring. Case insensitively depends on the value of the specified flag.
| substring | - keeping substring |
| value | - YES for the case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (void) removeStringsWithSubstring: | (NSString *) | substring |
Removes all occurrences in the strings list of the strings which contain the specified substring.
| substring | - removing substring |
| SCTextException | - strings list error detected |
| - (void) removeStringsWithSubstring: | (NSString *) | substring | |
| caseInsensitive: | (BOOL) | value | |
Removes all occurrences in the strings list of the strings which contain the specified substring. Case insensitively depends on the value of the specified flag.
| substring | - removing substring |
| value | - YES for the case insensitive comparison operations, otherwise NO |
| SCTextException | - strings list error detected |
| - (void) removeWithCaseInsensitive: | (BOOL) | value | |
| strings: | (NSString *) | string | |
| , | ... | ||
Removes all occurrences in the strings list of the strings from the specified nil terminated list. Case insensitively depends on the value of the specified flag.
| value | - YES for case insensitive comparison operations, otherwise NO |
| string | - first string to remove from the strings list |
| ... | - other strings to remove from the strings list |
| SCTextException | - strings list error detected |
| - (void) replaceStringAtIndex: | (SCIndex) | index | |
| withString: | (NSString *) | string | |
Replaces the string at the specified index with a given string.
| index | - index of the string to be replaced |
| string | - string with which to replace the string at the specified index |
| SCTextException | - strings list error detected |
| - (void) replaceStringsAtIndexes: | (NSIndexSet *) | indexes | |
| withStrings: | (NSString *) | string | |
| , | ... | ||
Replaces the strings in the receiving list at specified locations with the strings from a given nil terminated list.
| indexes | - indexes of strings to be replaced |
| string | - first string from list of strings to replace strings in the receiving list |
| ... | - other strings from list of strings to replace strings in the receiving list |
| SCTextException | - strings list error detected |
| - (void) replaceStringsAtIndexes: | (NSIndexSet *) | indexes | |
| withStringsFromCollection: | (id) | collection | |
Replaces the strings in the receiving strings list at specified locations with the strings from a given collection.
| indexes | - indexes of strings to be replaced |
| collection | - strings with which to replace the strings in the receiving strings list |
| SCTextException | - strings list error detected |
| - (void) replaceStringsAtIndexes: | (NSIndexSet *) | indexes | |
| withStringsFromList: | (SCStrings *) | list | |
Replaces the strings in the receiving list at specified locations with the strings from a given strings list.
| indexes | - indexes of strings to be replaced |
| list | - strings with which to replace the strings in the receiving list |
| SCTextException | - strings list error detected |
| - (void) reverse |
Reverses the order of all strings in the receiving array.
| SCTextException | - strings list error detected |
| - (SCStrings *) reversedList |
Returns the strings list with the all strings from the receiving strings list in reverse order.
| - (void) reverseEnumerate |
Tells the strings list delegate object for each string in the receiving strings list, in reverse order.
| - (void) reverseEnumerateWithDelegate: | (id<SCTextDelegate>) | delegate |
Tells the specified delegate object for each strings in the receiving strings list, in reverse order.
| delegate | - delegate object |
| - (NSEnumerator *) reverseStringEnumerator |
Returns an enumerator object that lets you access each string in the strings list, in reverse order.
| - (SCSet *) set |
Returns the set with the copy of all receiving strings list strings.
| - (void) setCapacity: | (SCULong) | capacity |
Sets the capacity of the receiving strings list.
| capacity | - list capacity |
| - (void) setCaseInsensitive: | (BOOL) | value |
Sets the case insensitive flag value.
| value | - YES for case insensitive operations, otherwise NO |
| - (void) setDelegate: | (id<SCTextDelegate>) | delegate |
Sets the delegate object of the receiving strings list.
| delegate | - delegate object |
| - (void) setReadOnly: | (BOOL) | flag |
Sets the receiving strings list read only mode flag.
| flag | - YES for set read only mode, otherwise NO |
| - (void) setStrongUnique: | (BOOL) | flag |
Sets the duplicate string exception generation flag.
| flag | - YES for generate exception, NO for ignoring string duplicating |
| - (void) setTextName: | (NSString *) | name |
Sets the name of the receiving strings list.
| name | - list name |
| - (void) setUnique: | (BOOL) | flag |
Sets the strings list unique flag value.
| flag | - NO to permit strings duplicating, otherwise YES |
| - (SCStrings *) sortedList |
Returns the strings list with ascending sorted using the default algorithm strings from the receving strings list.
| SCTextException | - strings list error detected |
| - (SCStrings *) sortedListAscending |
Returns the strings list with ascending sorted using the default algorithm strings from the receving strings list.
| SCTextException | - strings list error detected |
| - (SCStrings *) sortedListAscendingWithMethod: | (id<SCSortingProtocol>) | method |
Returns the strings list with ascending sorted using the specified algorithm strings from the receving strings list.
| method | - sorting algorithm |
| SCTextException | - strings list error detected |
| - (SCStrings *) sortedListDescending |
Returns the strings list with descending sorted using the default algorithm strings from the receving strings list.
| SCTextException | - strings list error detected |
| - (SCStrings *) sortedListDescendingWithMethod: | (id<SCSortingProtocol>) | method |
Returns the strings list with descending sorted using the specified algorithm strings from the receving strings list.
| method | - sorting algorithm |
| SCTextException | - strings list error detected |
| - (SCStrings *) sortedListWithMethod: | (id<SCSortingProtocol>) | method |
Returns the strings list with ascending sorted using the specified algorithm strings from the receving strings list.
| method | - sorting algorithm |
| SCTextException | - strings list error detected |
| - (void) sortingList |
Sort ascending the receiving strings list using the default sorting algorithm.
| SCTextException | - strings list error detected |
| - (void) sortingListAscending |
Sort ascending the receiving strings list using the default sorting algorithm.
| SCTextException | - strings list error detected |
| - (void) sortingListAscendingWithMethod: | (id<SCSortingProtocol>) | method |
Sort ascending the receiving strings list using the specified sorting algorithm.
| method | - sorting algoritm |
| SCTextException | - strings list error detected |
| - (void) sortingListDescending |
Sort descending the receiving strings list using the default sorting algorithm.
| SCTextException | - strings list error detected |
| - (void) sortingListDescendingWithMethod: | (id<SCSortingProtocol>) | method |
Sort descending the receiving strings list using the specified sorting algorithm.
| method | - sorting algoritm |
| SCTextException | - strings list error detected |
| - (void) sortingListWithMethod: | (id<SCSortingProtocol>) | method |
Sort ascending the receiving strings list using the specified sorting algorithm.
| method | - sorting algoritm |
| SCTextException | - strings list error detected |
| - (SCStack *) stack |
Returns the stack with the copy of all receiving strings list strings.
| - (NSString *) stringAtIndex: | (SCIndex) | index |
Returns the string located at the specified index.
| index | - required string index |
| SCTextException | - incorrect index detected |
| - (NSEnumerator *) stringEnumerator |
Returns an enumerator object that lets you access each string in the strings list.
| - (SCStrings *) stringsAtIndexes: | (NSIndexSet *) | indexes |
Returns a strings list containing the strings in the receiving list at the indexes specified by a given index set.
| indexes | - index set |
| SCTextException | - strings list error detected |
| - (SCStrings *) stringsWithoutSubstring: | (NSString *) | substring |
Returns a list of strings that do not contain the specified substring.
| substring | - desired substring |
| - (SCStrings *) stringsWithoutSubstring: | (NSString *) | substring | |
| caseInsensitive: | (BOOL) | value | |
Returns a list of strings that do not contain the specified substring. Case insensitively depends on the value of the specified flag.
| substring | - desired substring |
| value | - YES for case insensitive comparison operations, otherwise NO |
| - (SCStrings *) stringsWithSubstring: | (NSString *) | substring |
Returns a list of strings that contain the specified substring.
| substring | - desired substring |
| - (SCStrings *) stringsWithSubstring: | (NSString *) | substring | |
| caseInsensitive: | (BOOL) | value | |
Returns a list of strings that contain the specified substring. Case insensitively depends on the value of the specified flag.
| substring | - desired substring |
| value | - YES for case insensitive comparison operations, otherwise NO |
| - (NSString *) textName |
Returns a name of the receiving strings list.
| - (SCUnidirectionalList *) unidirectionalList |
Returns the unidirectional list with the copy of all receiving strings list strings.
1.7.3