[Previous] [Up] [Next]

NSAttributedString

Authors

Richard Frith-Macdonald

Version: $Revision$

Date: $Date$

NSAttributedString

NSAttributedString

Declared in: Foundation/NSAttributedString.h

Inherits from: NSObject

Conforms to: NSCoding


Instance Variables

Methods


Instances Methods

attribute:atIndex:effectiveRange:

- (id) attribute: (NSString*)attributeName atIndex: (unsigned int)index effectiveRange: (NSRange*)aRange;

attribute:atIndex:longestEffectiveRange:inRange:

- (id) attribute: (NSString*)attributeName atIndex: (unsigned int)index longestEffectiveRange: (NSRange*)aRange inRange: (NSRange)rangeLimit;

attributedSubstringFromRange:

- (NSAttributedString*) attributedSubstringFromRange: (NSRange)aRange;

attributesAtIndex:effectiveRange:

- (NSDictionary*) attributesAtIndex: (unsigned int)index effectiveRange: (NSRange*)aRange;

attributesAtIndex:longestEffectiveRange:inRange:

- (NSDictionary*) attributesAtIndex: (unsigned int)index longestEffectiveRange: (NSRange*)aRange inRange: (NSRange)rangeLimit;

initWithAttributedString:

- (id) initWithAttributedString: (NSAttributedString*)attributedString;

initWithString:

- (id) initWithString: (NSString*)aString;

initWithString:attributes:

- (id) initWithString: (NSString*)aString attributes: (NSDictionary*)attributes;

isEqualToAttributedString:

- (BOOL) isEqualToAttributedString: (NSAttributedString*)otherString;

length

- (unsigned int) length;

string

- (NSString*) string;