Re: NSDictionary from .plist file in Bundle

2008-05-21 Thread Ronald Oussoren
On Wednesday, May 21, 2008, at 03:24PM, "Allan Greenier" <[EMAIL PROTECTED]> wrote: >I remembered that one. :-) >I want to load my own .plist - myFile.plist >into a dictionary. NSDictionary has an 'dictionaryWithContentsOfFile:' method that read a plist file, and NSBundle has methods for getti

Re: NSDictionary from .plist file in Bundle

2008-05-21 Thread Allan Greenier
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

Re: NSDictionary from .plist file in Bundle

2008-05-21 Thread Ronald Oussoren
from Foundation import NSBundle print NSBundle.mainBundle().infoDictionary() Ronald On Wednesday, May 21, 2008, at 01:42PM, "Allan Greenier" <[EMAIL PROTECTED]> 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

Re: NSDictionary from .plist file in Bundle

2008-05-21 Thread Andy Lee
On May 21, 2008, at 7:42 AM, Allan Greenier 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

NSDictionary from .plist file in Bundle

2008-05-21 Thread Allan Greenier
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