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;
|