• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UTIs and readFromURL/writeToURL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UTIs and readFromURL/writeToURL


  • Subject: Re: UTIs and readFromURL/writeToURL
  • From: "Sean McBride" <email@hidden>
  • Date: Sat, 17 Oct 2009 21:59:33 -0500
  • Organization: Rogue Research Inc.

On 10/17/09 10:21 PM, Alastair Houghton said:

>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.

That's a clever idea, but, as you say, fragile.  I believe it would also
break code signing, would it not?  Still, it could be used in debug
builds to detect when new image formats are supported, then at least
you'd know its time to release an update.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada



_______________________________________________

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

References: 
 >Fwd: UTIs and readFromURL/writeToURL (From: Sander Stoks <email@hidden>)
 >Re: Fwd: UTIs and readFromURL/writeToURL (From: "Sean McBride" <email@hidden>)
 >Re: UTIs and readFromURL/writeToURL (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: Why does my font come out looking fuzzy?
  • Next by Date: Re: Probs with "BetterAuthorizationSample"-code
  • Previous by thread: Re: UTIs and readFromURL/writeToURL
  • Next by thread: releasing an object
  • Index(es):
    • Date
    • Thread