• 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
Attachment Cell with Image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Attachment Cell with Image


  • Subject: Attachment Cell with Image
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Thu, 12 Oct 2006 19:20:43 +0200

I have an NSTextView, where I add an NSTextAttachment which has an NSTextAttachmentCell which has an NSImage.

I save this NSTextView and read it again.

The attachments are still there, but they all show the default file- icon - not my NSImage.
I could, after readRTFDFromFile:, go through all attachments and do setAttachmentCell: where appropriate.


But - is there a better way? Maybe some delegate method being called when an NSTextAttachment is being read?

Some other idea?

Gerriet.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Attachment Cell with Image
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: setValue:forUndefinedKey:
  • Next by Date: Re: Attachment Cell with Image
  • Previous by thread: Re: NSTimer question: How to fire at second 00, 05, 10 etc ?
  • Next by thread: Re: Attachment Cell with Image
  • Index(es):
    • Date
    • Thread