Attachment Cell with Image
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