How do you save a value from a text feild so that can be saved and displayed later, on a differnt opening.
A:
Calvin1602
2010-08-08 22:15:55
FYI: Question is about Objective-C, not C#.
quixoto
2010-08-08 22:16:52
Oh o_O my mistake. Well deserved downvotes.
Calvin1602
2010-08-09 08:22:14
A:
Use NSUserDefaults:
NSUserDefaults prefs = [NSUserDefaults standardUserDefaults];
[prefs setInteger:10 forKey:@"high_score"];
[prefs synchronize];
Sheehan Alam
2010-08-08 22:16:36
A:
It sounds like you need to add a property to your controller and store the value from your text field in that property.
dudlheimer
2010-08-08 22:41:38