2
<title>NSAttributedString</title>
5
<a href ="NSAssertionHandler.html">[Previous] </a>
6
<a href ="Base.html">[Up] </a>
7
<a href ="NSAutoreleasePool.html">[Next] </a>
8
<h1>NSAttributedString</h1>
11
<dt><a href ="http://www.gnustep.org/developers/whoiswho.html">Richard Frith-Macdonald</a>
14
<p>Version: $Revision: 1.13 $</p>
15
<p>Date: $Date: 2001/12/12 14:10:12 $</p>
16
<h2><a name ="cont-0">NSAttributedString</a></h2>
17
<h2><a name ="NSAttributedString">NSAttributedString</a></h2>
18
<p><b>Declared in: </b> Foundation/NSAttributedString.h</p>
19
<p><b>Inherits from: </b> NSObject</p>
20
<p><b>Conforms to: </b> NSCoding
25
<h2>Instance Variables </h2>
30
<li ><a href ="NSAttributedString.html#method-0">-attribute:atIndex:effectiveRange:</a>
31
<li ><a href ="NSAttributedString.html#method-1">-attribute:atIndex:longestEffectiveRange:inRange:</a>
32
<li ><a href ="NSAttributedString.html#method-2">-attributedSubstringFromRange:</a>
33
<li ><a href ="NSAttributedString.html#method-3">-attributesAtIndex:effectiveRange:</a>
34
<li ><a href ="NSAttributedString.html#method-4">-attributesAtIndex:longestEffectiveRange:inRange:</a>
35
<li ><a href ="NSAttributedString.html#method-5">-initWithAttributedString:</a>
36
<li ><a href ="NSAttributedString.html#method-6">-initWithString:</a>
37
<li ><a href ="NSAttributedString.html#method-7">-initWithString:attributes:</a>
38
<li ><a href ="NSAttributedString.html#method-8">-isEqualToAttributedString:</a>
39
<li ><a href ="NSAttributedString.html#method-9">-length</a>
40
<li ><a href ="NSAttributedString.html#method-10">-string</a>
42
<hr><h2>Instances Methods </h2>
43
<h3><a name ="method-0">attribute:atIndex:effectiveRange:</a></h3>
44
- (id) <b>attribute:</b> (NSString*)attributeName <b>atIndex:</b> (unsigned int)index <b>effectiveRange:</b> (NSRange*)aRange;<br>
48
<h3><a name ="method-1">attribute:atIndex:longestEffectiveRange:inRange:</a></h3>
49
- (id) <b>attribute:</b> (NSString*)attributeName <b>atIndex:</b> (unsigned int)index <b>longestEffectiveRange:</b> (NSRange*)aRange <b>inRange:</b> (NSRange)rangeLimit;<br>
53
<h3><a name ="method-2">attributedSubstringFromRange:</a></h3>
54
- (NSAttributedString*) <b>attributedSubstringFromRange:</b> (NSRange)aRange;<br>
58
<h3><a name ="method-3">attributesAtIndex:effectiveRange:</a></h3>
59
- (NSDictionary*) <b>attributesAtIndex:</b> (unsigned int)index <b>effectiveRange:</b> (NSRange*)aRange;<br>
63
<h3><a name ="method-4">attributesAtIndex:longestEffectiveRange:inRange:</a></h3>
64
- (NSDictionary*) <b>attributesAtIndex:</b> (unsigned int)index <b>longestEffectiveRange:</b> (NSRange*)aRange <b>inRange:</b> (NSRange)rangeLimit;<br>
68
<h3><a name ="method-5">initWithAttributedString:</a></h3>
69
- (id) <b>initWithAttributedString:</b> (NSAttributedString*)attributedString;<br>
73
<h3><a name ="method-6">initWithString:</a></h3>
74
- (id) <b>initWithString:</b> (NSString*)aString;<br>
78
<h3><a name ="method-7">initWithString:attributes:</a></h3>
79
- (id) <b>initWithString:</b> (NSString*)aString <b>attributes:</b> (NSDictionary*)attributes;<br>
83
<h3><a name ="method-8">isEqualToAttributedString:</a></h3>
84
- (BOOL) <b>isEqualToAttributedString:</b> (NSAttributedString*)otherString;<br>
88
<h3><a name ="method-9">length</a></h3>
89
- (unsigned int) <b>length</b>;<br>
93
<h3><a name ="method-10">string</a></h3>
94
- (NSString*) <b>string</b>;<br>