Can an app query the values in its own Info.plist?
Can an app query the values in its own Info.plist?
- Subject: Can an app query the values in its own Info.plist?
- From: Hippo Man <email@hidden>
- Date: Sun, 27 Sep 2009 23:33:28 -0400
Is there a way for me to put my own, custom key into a Cocoa
application's Info.plist and have the application query that key's
setting?
I know that I can use the dictionaryWithContentsOfFile: method of an
NSDictionary to read an arbitrary, dictionary-like property list,
given its pathname. However, I'm wondering if there's a way to
automatically get one or more settings in the current Cocoa
application's Info.plist without knowing anything about its pathname.
In other words, I want to query settings from "my" Info.plist.
Is this possible? If so, could someone point me to some docs which
describe how to do this?
Thanks in advance.
--
HippoMan <email@hidden>
_______________________________________________
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