|Jan 27, 2011, 10:11 AM||#2|
This is from a Mac App I wrote but it should be similar.
This is for a resource in the preferences folder on my mac, so you'd have to change the path to be your resource instead, but this should give you a start. Also the file I am loading is a Plist and all of the key object combinations are loaded into a dictionary.
NSString *path; path = @"~/Library/Preferences/file.plist"; NSString *absolutePath = [path stringByExpandingTildeInPath]; NSDictionary *contentDictionary = [[NSDictionary alloc] initWithContentsOfFile:absolutePath];
Sorry this isn't exactly the same but I thought it might help...
Last edited by dejo; Jan 27, 2011 at 11:00 AM. Reason: Please use [code] tags.
|Jan 27, 2011, 10:24 AM||#3|
In code which gives from you I see the way to continue.
Last edited by dejo; Jan 27, 2011 at 11:01 AM. Reason: Quoted post edited.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|how to display the images from the NSMutableArray||srinivas.be88||iPhone/iPad Programming||5||Sep 2, 2010 03:10 AM|
|how to get the "S" for the 3gs in sig||brisweeney||Site and Forum Feedback||7||Oct 9, 2009 01:46 PM|
|how to uninstall the limewire from the mac||y2knp||OS X||5||May 13, 2008 12:18 AM|
|how to remove the audio from video file?||naiviv||Digital Video||6||Jun 16, 2007 10:56 AM|
|how to get the glue from the stickers off a new ipod video||donbadman||iPod||1||Sep 7, 2006 03:30 PM|
All times are GMT -5. The time now is 03:20 PM.