Re: NSTextView and sound/movie attachments
Re: NSTextView and sound/movie attachments
- Subject: Re: NSTextView and sound/movie attachments
- From: Douglas Davidson <email@hidden>
- Date: Fri, 3 Dec 2004 16:09:43 -0800
On Dec 3, 2004, at 4:01 PM, Ivan Pinzon wrote:
The problem is when reading, I get the tiff icon for the sound/movie
instead of the controller.
Image files work ok.
I checked the code for TextEdit, and saw that it uses:
- (NSFileWrapper *)RTFDFileWrapperFromRange:(NSRange)range
documentAttributes:(NSDictionary *)dict;
The thing is I need to be able to store the RTFD (or attributed
string) in my own archived object.
How can I do this? How can I restore the RTFD back into the NSTextView?
Currently I believe the situation is that embedded sound/movies in a
text view need an actual file on disk in order for them to be able to
play. This limitation may be lifted in the future.
Douglas Davidson
_______________________________________________
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