Re: NSDictionary from .plist file in Bundle
Re: NSDictionary from .plist file in Bundle
- Subject: Re: NSDictionary from .plist file in Bundle
- From: Allan Greenier <email@hidden>
- Date: Wed, 21 May 2008 09:24:25 -0400
I remembered that one. :-)
I want to load my own .plist - myFile.plist
into a dictionary.
On May 21, 2008, at 9:01 AM, Ronald Oussoren wrote:
from Foundation import NSBundle
print NSBundle.mainBundle().infoDictionary()
Ronald
On Wednesday, May 21, 2008, at 01:42PM, "Allan Greenier" <email@hidden
> wrote:
I have a vague memory that I can swoop up my own .plist in my main
bundle into an NSDictionary with one call, but I can't seem to find
that call right now.
I've looked at the NSBundle and NSDictionary api's to no avail.
Can someone her please spark my memory?
Thanks,
Allan
_______________________________________________
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
_______________________________________________
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