On Sun, Sep 27, 2009 at 8:33 PM, Hippo Man <apple.hippo...@gmail.com> wrote:
> 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?

Yes, using -[NSBundle infoDictionary].  And of course you can get the
app's bundle by using +[NSBundle mainBundle].
http://developer.apple.com/mac/library/DOCUMENTATION/Cocoa/Reference/Foundation/Classes/NSBundle_Class/Reference/Reference.html#//apple_ref/doc/uid/20000214-BCICBHBA

--Kyle Sluder
_______________________________________________

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

Reply via email to