Re: NSOpenPanel (and Finder and Nav Serv) previews, adding support for my own file types?
Re: NSOpenPanel (and Finder and Nav Serv) previews, adding support for my own file types?
- Subject: Re: NSOpenPanel (and Finder and Nav Serv) previews, adding support for my own file types?
- From: Bryan Prusha <email@hidden>
- Date: Tue, 23 Aug 2005 11:05:47 -0700
On Aug 23, 2005, at 10:46 AM, Sean McBride wrote:
On 2005-08-23 10:33, Bryan Prusha said:
Unfortunately, the Navigation Services custom preview feature is
limited to previews drawn within the client application.
Thanks for the (unfortunate) confirmation.
Can a Cocoa app use Nav Serv? Or is that "problematic"? :)
Let me put it this way. I think I only have one bug on the
subject that is most likely app specific. The only bits that I think
may be tricky are probably with using sheets. Then again, I have not
tried this specifically so there may be no issues at all. In theory
this should work fine. If not, please write bugs. Just be aware that
here there may be dragons. =)
There is no
plug-in architecture for a client to provide previews to all
applications.
I'll file an ER then.
I bcc'd one of the CG folks responsible for ImageIO. I'm hoping
he'll chime in with some more comments.
On the other hand, NSOpen/Save, Finder and Nav
currently (Tiger) use ImageIO to present their image previews.
Perhaps CG has a mechanism to provide custom image previews for all
ImageIO clients?
What is ImageIO? I searched apple's site, but all I get is a bunch of
Java stuff, which I'm assuming is something else.
I had exactly the same problem when I went to search in
developer.apple.com. =) Look for the ImageIO framework inside
ApplicationServices. It's a pretty nifty way to render images. It
greatly simplified image previewing in Nav. So much so I had to
rearchitect from the Quickdraw version. =/
_______________________________________________
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