DekGenius.com
[ Team LiB ] Previous Section Next Section

NSTextStorageScripting Mac OS X 10.0

This informal protocol declares methods for text storage classes to implement so that they may be scriptable. In the Application Kit, NSTextStorage implements all of the methods in this protocol as part of Cocoa's built-in support for scripting.

@interface NSObject (NSTextStorageScripting)
 // Instance Methods
   - (NSArray *)attributeRuns;
   - (void)setAttributeRuns:(NSArray *)attributeRuns;
   - (NSArray *)paragraphs;
   - (void)setParagraphs:(NSArray *)paragraphs;
   - (NSArray *)words;
   - (void)setWords:(NSArray *)words;
   - (NSArray *)characters;
   - (void)setCharacters:(NSArray *)characters;
   - (NSFont *)font;
   - (void)setFont:(NSFont *)font;
   - (NSColor *)foregroundColor;
   - (void)setForegroundColor:(NSColor *)color;
@end

    [ Team LiB ] Previous Section Next Section