• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSTextAttachment without a fileWrapper
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: threads, notifications and DOs
  • Next by Date: NSView coordinate System
  • Previous by thread: Bad access when application quits - NSApp terminate
  • Next by thread: NSView coordinate System
  • Index(es):
    • Date
    • Thread