Re: How do I include a URL in a preprocessed Info.plist?
Re: How do I include a URL in a preprocessed Info.plist?
- Subject: Re: How do I include a URL in a preprocessed Info.plist?
- From: Michael Nickerson <email@hidden>
- Date: Sun, 28 Dec 2008 07:35:30 -0500
On Dec 27, 2008, at 7:37 PM, Graham Cox wrote:
Anyway, that's useful info, at least it explains what I'm seeing. I
worked around it in a different way in the end - I added a user-
defined setting for my URL then just used ${MY_URL} in the plist.
That worked fine - this is similar to Phillipe's suggestion.
I know you found a way to do this that works for you, but I just
wanted to point out that you can also just put it into the
InfoPlist.strings file(s) and it'll work just fine (and, in the case
of Sparkle, allows you to have different URLs for different
localizations if you want to do that).
Just so I'm clear here, I mean putting the key into the
InfoPlist.strings file(s) rather than into the Info.plist file. This
will work for almost any key you want to use, as long as you (or the
underlying API) is using -objectForInfoDictionaryKey to look up the
keys.
--------------------------------------
Darkshadow
(aka Michael Nickerson)
http://www.nightproductions.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