anoq@vip.cybercity.dk
)richard@brainstorm.co.uk
)Version: 1.42
Date: 2004/10/09 15:40:23
Copyright: (C) 1997,1999 Free Software Foundation, Inc.
- Declared in:
- Foundation/NSAttributedString.h
- Conforms to:
- NSCoding
- NSCopying
- NSMutableCopying
Standards:
- MacOS-X
- NotOpenStep
- GNUstep
A string in which name-value pairs represented by an NSDictionary may be associated to ranges of characters. Used for text rendering by the GUI/AppKit framework, in which fonts, sizes, etc. are stored under standard attributes in the dictionaries.
Method summaryReturns value for given attribute at index, and, if effectiveRange is non-nil, this gets filled with a range over which this value holds. This may not be the maximum range, depending on the implementation.
Returns value for given attribute at index, and, if longestEffectiveRange is non-nil, this gets filled with the range over which the attribute applies, clipped to rangeLimit.
Returns substring with attribute information.
Synonym for -attributedSubstringFromRange: .
Returns attributes and values at index, and, if effectiveRange is non-nil, this gets filled with a range over which these attributes and values still hold. This may not be the maximum range, depending on the implementation.
Returns attributes and values at index, and, if longestEffectiveRange is non-nil, this gets filled with the range over which the attribute-value set is the same as at index, clipped to rangeLimit.
Initialize to copy of attributedString.
Initialize to aString with no attributes.
Initialize to aString with given attributes applying over full range of string.
Returns whether all characters and attributes are equal between this string and otherString.
Return length of the underlying string.
Return the underlying string, stripped of attributes.
- Declared in:
- Foundation/NSAttributedString.h
Standards:
- MacOS-X
- NotOpenStep
- GNUstep
Mutable version of NSAttributedString .
Method summaryAdds attribute applying to given range.
Add attributes to apply over given range.
Appends attributed string to end of this one, preserving attributes.
Call before executing a collection of changes, for optimization.
Removes characters and attributes applying to them.
Call after executing a collection of changes, for optimization.
Inserts attributed string within this one, preserving attributes.
Returns mutable version of the underlying string.
Removes given attribute from aRange.
Replaces substring and attributes.
Replaces substring; replacement is granted attributes equal to those of the first character of the portion replaced.
Replaces entire contents (so this object can be reused).
Sets attributes to apply over range, replacing any previous attributes.