27 #pragma mark Class Constants
37 #define SCTextDelegateClass @"SCTextDelegate"
45 #pragma mark Protocol SCTextDelegate Declaration
63 #pragma mark Processing Strings
79 - (void)processString:(NSString *)string text:(
SCStrings *)text;
82 #pragma mark Handling Text Errors
103 #pragma mark Adding Strings Events Handlers
121 - (void)text:(
SCStrings *)text willAddString:(NSString *)string;
135 - (void)text:(
SCStrings *)text willInsertString:(NSString *)string atIndex:(
SCIndex)index;
147 - (void)text:(
SCStrings *)text didFinishAddingString:(NSString *)string;
161 - (void)text:(
SCStrings *)text didFinishInsertingString:(NSString *)string atIndex:(
SCIndex)index;
164 #pragma mark Removing Strings Events Handlers
178 - (void)willRemoveAllStringsFromText:(
SCStrings *)text;
202 - (void)text:(
SCStrings *)text willRemoveString:(NSString *)string;
214 - (void)text:(
SCText *)text willRemoveTextInRange:(NSRange)range;
226 - (void)text:(
SCText *)text willRemoveSubstring:(NSString *)substring;
248 - (void)didFinishRemovingAllStringsFromText:(
SCStrings *)text;
260 - (void)text:(
SCStrings *)text didFinishRemovingStringAtIndex:(
SCIndex)index;
272 - (void)text:(
SCStrings *)text didFinishRemovingString:(NSString *)string;
284 - (void)text:(
SCText *)text didFinishRemovingTextInRange:(NSRange)range;
296 - (void)text:(
SCText *)text didFinishRemovingSubstring:(NSString *)substring;
308 - (void)text:(
SCText *)text didFinishRemovingText:(
SCStrings *)removedText;
311 #pragma mark Strings Events Handlers
329 - (void)text:(
SCStrings *)text willSortAscending:(BOOL)ascending sorter:(
id<
SCSorter>)sorter;
343 - (void)text:(
SCStrings *)text didFinishSortingAscending:(BOOL)ascending sorter:(
id<
SCSorter>)sorter;
346 #pragma mark Replacing Strings Events Handlers
364 - (void)text:(
SCStrings *)text willReplaceStringAtIndex:(
SCIndex)index withString:(NSString *)string;
378 - (void)text:(
SCStrings *)text willReplaceString:(NSString *)string withString:(NSString *)newString;
393 - (void)text:(
SCText *)text willReplaceTextInRange:(NSRange)range withText:(
SCStrings *)ntext;
421 - (void)text:(
SCStrings *)text didFinishReplacingStringAtIndex:(
SCIndex)index withString:(NSString *)string;
435 - (void)text:(
SCStrings *)text didFinishReplacingString:(NSString *)string withString:(NSString *)newString;
450 - (void)text:(
SCText *)text didFinishReplacingTextInRange:(NSRange)range withText:(
SCStrings *)ntext;
467 #pragma mark Copying and Moving Strings Events Handlers
485 - (void)text:(
SCStrings *)text willExchangeStringAtIndex:(
SCIndex)index withStringAtIndex:(
SCIndex)destination;
507 - (void)willDuplicateText:(
SCStrings *)text;
522 - (void)text:(
SCText *)text willExchangeTextInRange:(NSRange)source withTextInRange:(NSRange)destination;
536 - (void)text:(
SCStrings *)text didFinishExchangingStringAtIndex:(
SCIndex)index withStringAtIndex:(
SCIndex)destination;
548 - (void)text:(
SCStrings *)text didFinishDuplicatingStringAtIndex:(
SCIndex)index;
558 - (void)didFinishDuplicatingText:(
SCStrings *)text;
573 - (void)text:(
SCText *)text didFinishExchangingTextInRange:(NSRange)source withTextInRange:(NSRange)destination;
576 #pragma mark Reading and Writing Files Events Handlers
604 - (void)text:(
SCTextFile *)text willReadWithPath:(NSString *)path;
628 - (void)text:(
SCTextFile *)text willWriteWithPath:(NSString *)path;
662 - (void)text:(
SCTextFile *)text didFinishReadingWithPath:(NSString *)path;
686 - (void)text:(
SCTextFile *)text didFinishWritingWithPath:(NSString *)path;
696 - (void)didFinishResettingText:(
SCTextFile *)text;
701 #pragma mark Class SCTextDelegate Declaration
718 #pragma mark Processing Strings
719 - (void)processString:(NSString *)string text:(
SCStrings *)text;
722 #pragma mark Handling Text Errors
726 #pragma mark Adding Strings Events Handlers
727 - (void)text:(
SCStrings *)text willAddString:(NSString *)string;
728 - (void)text:(
SCStrings *)text willInsertString:(NSString *)string atIndex:(
SCIndex)index;
729 - (void)text:(
SCStrings *)text didFinishAddingString:(NSString *)string;
730 - (void)text:(
SCStrings *)text didFinishInsertingString:(NSString *)string atIndex:(
SCIndex)index;
733 #pragma mark Removing Strings Events Handlers
734 - (void)willRemoveAllStringsFromText:(
SCStrings *)text;
736 - (void)text:(
SCStrings *)text willRemoveString:(NSString *)string;
737 - (void)text:(
SCText *)text willRemoveTextInRange:(NSRange)range;
738 - (void)text:(
SCText *)text willRemoveSubstring:(NSString *)substring;
740 - (void)didFinishRemovingAllStringsFromText:(
SCStrings *)text;
741 - (void)text:(
SCStrings *)text didFinishRemovingStringAtIndex:(
SCIndex)index;
742 - (void)text:(
SCStrings *)text didFinishRemovingString:(NSString *)string;
743 - (void)text:(
SCText *)text didFinishRemovingTextInRange:(NSRange)range;
744 - (void)text:(
SCText *)text didFinishRemovingSubstring:(NSString *)substring;
745 - (void)text:(
SCText *)text didFinishRemovingText:(
SCStrings *)removedText;
748 #pragma mark Sorting Strings Events Handlers
749 - (void)text:(
SCStrings *)text willSortAscending:(BOOL)ascending sorter:(
id<
SCSorter>)sorter;
750 - (void)text:(
SCStrings *)text didFinishSortingAscending:(BOOL)ascending sorter:(
id<
SCSorter>)sorter;
753 #pragma mark Replacing Strings Events Handlers
754 - (void)text:(
SCStrings *)text willReplaceStringAtIndex:(
SCIndex)index withString:(NSString *)string;
755 - (void)text:(
SCStrings *)text willReplaceString:(NSString *)string withString:(NSString *)newString;
756 - (void)text:(
SCText *)text willReplaceTextInRange:(NSRange)range withText:(
SCStrings *)ntext;
758 - (void)text:(
SCStrings *)text didFinishReplacingStringAtIndex:(
SCIndex)index withString:(NSString *)string;
759 - (void)text:(
SCStrings *)text didFinishReplacingString:(NSString *)string withString:(NSString *)newString;
760 - (void)text:(
SCText *)text didFinishReplacingTextInRange:(NSRange)range withText:(
SCStrings *)ntext;
764 #pragma mark Copying and Moving Strings Events Handlers
765 - (void)text:(
SCStrings *)text willExchangeStringAtIndex:(
SCIndex)index withStringAtIndex:(
SCIndex)destination;
767 - (void)willDuplicateText:(
SCStrings *)text;
768 - (void)text:(
SCText *)text willExchangeTextInRange:(NSRange)source withTextInRange:(NSRange)destination;
769 - (void)text:(
SCStrings *)text didFinishExchangingStringAtIndex:(
SCIndex)index withStringAtIndex:(
SCIndex)destination;
770 - (void)text:(
SCStrings *)text didFinishDuplicatingStringAtIndex:(
SCIndex)index;
771 - (void)didFinishDuplicatingText:(
SCStrings *)text;
772 - (void)text:(
SCText *)text didFinishExchangingTextInRange:(NSRange)source withTextInRange:(NSRange)destination;
775 #pragma mark Reading and Writing Files Events Handlers
777 - (void)text:(
SCTextFile *)text willReadWithPath:(NSString *)path;
779 - (void)text:(
SCTextFile *)text willWriteWithPath:(NSString *)path;
782 - (void)text:(
SCTextFile *)text didFinishReadingWithPath:(NSString *)path;
784 - (void)text:(
SCTextFile *)text didFinishWritingWithPath:(NSString *)path;
785 - (void)didFinishResettingText:(
SCTextFile *)text;
Text class.
Definition: SCText.h:76
Strings list class.
Definition: SCStrings.h:73
Class SCDelegate header file.
Class SCTextException header file.
Abstract implementation of the protocol SCSorter.
Definition: SCSorter.h:136
Protocol and class SCSorter header file.
Text object event handlers class.
Definition: SCTextDelegate.h:715
Parent class of all library delegate classes.
Definition: SCDelegate.h:53
Text file class.
Definition: SCTextFile.h:87
Text objects delegate protocol.
Definition: SCTextDelegate.h:60
Exception class SCTextException.
Definition: SCTextException.h:335
NSUInteger SCIndex
Definition: SCCollectionProtocols.h:50
Abstract parent class of the stream classes hierarchy.
Definition: SCStream.h:226