bosco

bosco
- Name: [not set]
- Favorite Languages: [not set]
- Website: [not set]
- Location: London, UK
- About Me: [not set]
-
Objective-C Tutorials
04/13/2011 - 18:13
Hello All
I am fairly new to xcode and interface builder. Steep learning curve however good progress, Good enough to find this excellent site.
I have spent the last few nights up trying to work out how to save textfield variables (or any other for that matter) into plist or txt files.
Basically I am looking to take the values of a couple of text fields in a simple app and save them so that next time the app runs the values remain.
I know I need to
- check for documents path
- check for file index
- create file if it does not exist
- Write values into file upon exit (applicationWillTerminate)
- populate textfields with values when app loadsBeen through loads of tuts and so far I have a couple of built and running applications no crashs but no saved data either.
Cant even pull my hair out cos I got none.
Please could someone help me.
Thanks
Bosco
Recent Comments