On 10/10/09 11:15 AM, Sander Stoks said: >Suppose I have an application which can read and write images (using >Image I/O). To make this known to the OS, I have to add stuff to my >Info.plist, and wanted to do this using UTIs as I understand that's >the new standard. However, I have a few problems here. > >First, do I really have to add all types to my Info.plist file? If >the OS gets an update which adds a new file type to Image I/O, I have >to update my Info.plist?
Since no one else replied... I'm pretty sure the answers are: yes and yes. :( >I copied the relevant part of Preview.app, so I now have a nice list >of two dozen of supported UTIs in my plist. Preview.app is having to do the same thing you do, which is a good indication that there is no better way. I'd file a bug. Note that with NSOpenPanel, you can do better, using NSImage's imageTypes method. -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com