2000-03-05 17:39:33 +00:00
|
|
|
<html><head>
|
2000-09-22 13:45:58 +00:00
|
|
|
<title>NSAttributedString</title>
|
2000-03-05 17:39:33 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2000-09-22 13:45:58 +00:00
|
|
|
<a href ="NSAssertionHandler.html">[Previous]</a>
|
|
|
|
<a href ="Base.html">[Up]</a>
|
|
|
|
<a href ="NSAutoreleasePool.html">[Next]</a>
|
2000-03-05 17:39:33 +00:00
|
|
|
<h1>NSAttributedString</h1>
|
2000-09-22 13:45:58 +00:00
|
|
|
<h3>Authors </h3>
|
|
|
|
<dl>
|
|
|
|
<dt><a href ="http://www.gnustep.org/developers/whoiswho.html">Richard Frith-Macdonald</a>
|
2000-03-05 17:39:33 +00:00
|
|
|
<dd>
|
|
|
|
</dl>
|
2001-03-03 10:00:31 +00:00
|
|
|
<p>Version: $Revision$</p>
|
|
|
|
<p>Date: $Date$</p>
|
2000-09-22 13:45:58 +00:00
|
|
|
<h2><a name ="cont-0">NSAttributedString</a></h2>
|
|
|
|
<h2><a name ="NSAttributedString">NSAttributedString</a></h2>
|
|
|
|
<p><b>Declared in: </b> Foundation/NSAttributedString.h</p>
|
|
|
|
<p><b>Inherits from: </b> NSObject</p>
|
|
|
|
<p><b>Conforms to: </b> NSCoding
|
2000-03-05 17:39:33 +00:00
|
|
|
</p>
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
|
2000-09-22 13:45:58 +00:00
|
|
|
<h2>Instance Variables </h2>
|
2000-09-15 19:56:39 +00:00
|
|
|
<ul>
|
|
|
|
</ul>
|
2000-09-22 13:45:58 +00:00
|
|
|
<h2>Methods </h2>
|
2000-03-05 17:39:33 +00:00
|
|
|
<ul>
|
2000-09-22 13:45:58 +00:00
|
|
|
<li><a href ="NSAttributedString.html#method-0">-attribute:atIndex:effectiveRange:</a>
|
|
|
|
<li><a href ="NSAttributedString.html#method-1">-attribute:atIndex:longestEffectiveRange:inRange:</a>
|
|
|
|
<li><a href ="NSAttributedString.html#method-2">-attributedSubstringFromRange:</a>
|
|
|
|
<li><a href ="NSAttributedString.html#method-3">-attributesAtIndex:effectiveRange:</a>
|
|
|
|
<li><a href ="NSAttributedString.html#method-4">-attributesAtIndex:longestEffectiveRange:inRange:</a>
|
|
|
|
<li><a href ="NSAttributedString.html#method-5">-initWithAttributedString:</a>
|
|
|
|
<li><a href ="NSAttributedString.html#method-6">-initWithString:</a>
|
|
|
|
<li><a href ="NSAttributedString.html#method-7">-initWithString:attributes:</a>
|
|
|
|
<li><a href ="NSAttributedString.html#method-8">-isEqualToAttributedString:</a>
|
|
|
|
<li><a href ="NSAttributedString.html#method-9">-length</a>
|
|
|
|
<li><a href ="NSAttributedString.html#method-10">-string</a>
|
2000-03-05 17:39:33 +00:00
|
|
|
</ul>
|
2000-09-22 13:45:58 +00:00
|
|
|
<hr><h2>Instances Methods </h2>
|
|
|
|
<h3><a name ="method-0">attribute:atIndex:effectiveRange:</a></h3>
|
|
|
|
- (id) <b>attribute:</b> (NSString*)attributeName <b>atIndex:</b> (unsigned int)index <b>effectiveRange:</b> (NSRange*)aRange;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
2000-09-22 13:45:58 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-1">attribute:atIndex:longestEffectiveRange:inRange:</a></h3>
|
|
|
|
- (id) <b>attribute:</b> (NSString*)attributeName <b>atIndex:</b> (unsigned int)index <b>longestEffectiveRange:</b> (NSRange*)aRange <b>inRange:</b> (NSRange)rangeLimit;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
2000-09-22 13:45:58 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-2">attributedSubstringFromRange:</a></h3>
|
|
|
|
- (NSAttributedString*) <b>attributedSubstringFromRange:</b> (NSRange)aRange;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
2000-09-22 13:45:58 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-3">attributesAtIndex:effectiveRange:</a></h3>
|
|
|
|
- (NSDictionary*) <b>attributesAtIndex:</b> (unsigned int)index <b>effectiveRange:</b> (NSRange*)aRange;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
2000-09-22 13:45:58 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-4">attributesAtIndex:longestEffectiveRange:inRange:</a></h3>
|
|
|
|
- (NSDictionary*) <b>attributesAtIndex:</b> (unsigned int)index <b>longestEffectiveRange:</b> (NSRange*)aRange <b>inRange:</b> (NSRange)rangeLimit;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
2000-09-22 13:45:58 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-5">initWithAttributedString:</a></h3>
|
|
|
|
- (id) <b>initWithAttributedString:</b> (NSAttributedString*)attributedString;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
2000-09-22 13:45:58 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-6">initWithString:</a></h3>
|
|
|
|
- (id) <b>initWithString:</b> (NSString*)aString;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
2000-09-22 13:45:58 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-7">initWithString:attributes:</a></h3>
|
|
|
|
- (id) <b>initWithString:</b> (NSString*)aString <b>attributes:</b> (NSDictionary*)attributes;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
2000-09-22 13:45:58 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-8">isEqualToAttributedString:</a></h3>
|
|
|
|
- (BOOL) <b>isEqualToAttributedString:</b> (NSAttributedString*)otherString;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
2000-09-22 13:45:58 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-9">length</a></h3>
|
2000-07-04 19:53:39 +00:00
|
|
|
- (unsigned int) <b>length</b>;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
2000-09-22 13:45:58 +00:00
|
|
|
<hr>
|
|
|
|
<h3><a name ="method-10">string</a></h3>
|
|
|
|
- (NSString*) <b>string</b>;<br>
|
2000-03-05 17:39:33 +00:00
|
|
|
|
|
|
|
|
2000-09-22 13:45:58 +00:00
|
|
|
<hr>
|
2000-03-05 17:39:33 +00:00
|
|
|
</body>
|
|
|
|
|
2000-09-22 13:45:58 +00:00
|
|
|
</html>
|