NSTextAttachment without a fileWrapper
NSTextAttachment without a fileWrapper
- Subject: NSTextAttachment without a fileWrapper
- From: "Mark's Studio" <email@hidden>
- Date: Fri, 20 Sep 2002 10:13:50 +0200
I have custom NSTextAttachmentCell that displays some data, i don't
want the actual data to be be store in the NSTextAttachment just a
reference to it
so i thought i could use
[[NSFileWrapper alloc] initWithSerializedRepresentation: [NSArchiver
archivedDataWithRootObject:myNSString]]
but that returns null?
I also init my custom NSTextAttachmentCell with myNSString, so i could
test the cell that way.
But this properly wont get saved with the attributedstring.
What does the attributedstring actually store when there is an
NSTextAttachment in it?
Could i just make a subclass of NSTextAttachment that had a NSString
instead of the fileWrapper?
Thanks
Peter Mark
Mark's Recording Studio A/S
Faelledvej 19 b DK2200 N
Copenhagen Denmark
Tel: +45 35366078 Fax: +45 35366038
www.marks-studio.dk
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.