Re: UTIs and readFromURL/writeToURL
Re: UTIs and readFromURL/writeToURL
- Subject: Re: UTIs and readFromURL/writeToURL
- From: Alastair Houghton <email@hidden>
- Date: Sat, 17 Oct 2009 22:21:53 +0100
On 17 Oct 2009, at 03:12, Sean McBride wrote:
On 10/10/09 11:15 AM, Sander Stoks said:
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. :(
Well, you *could* do a little better than doing it manually; e.g. when
you run the application, it could look at NSImage's -imageTypes method
and see if it had every one of them listed in your Info.plist, then if
there are some that aren't, update your Info.plist accordingly. Of
course, this is trickier than it sounds, because if your app is run by
a non-admin user you're going to have to use a helper tool and
Authorization Services to update the Info.plist.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden