May 2003
Intermediate to advanced
566 pages
27h 29m
English
NSTextAttachment — Mac OS X 10.0
Instances of this class serve as values in an attributed string for
the attribute NSAttachmentAttributeName. Text
attachment cells are associated with an
NSFileWrapper object that may represent either a
file or a URL.
|
|
@interface NSTextAttachment : NSObject <NSCoding>
|
// Initializers
|
- (id)initWithFileWrapper:(NSFileWrapper *)fileWrapper; |
// Accessor Methods
|
- (void)setFileWrapper:(NSFileWrapper *)fileWrapper; |
- (NSFileWrapper *)fileWrapper;
|
- (void)setAttachmentCell:(id <NSTextAttachmentCell>)cell; |
- (id <NSTextAttachmentCell>)attachmentCell;
|
// Methods Implementing NSCoding
|
- (void)encodeWithCoder:(NSCoder *)aCoder; |
- (id)initWithCoder:(NSCoder *)aDecoder; |
Read now
Unlock full access