 <p>Consider using <code>NSUserDefaults</code> for storing single values</p> <p><em>For Storing:</em></p> <pre><code>[[NSUserDefaults standardUserDefaults] setInteger:100 forKey:@"storageKey"]; </code></pre> <p><em>For Retrieving:</em></p> <pre><code>NSInteger myValue = [[NSUserDefaults standardUserDefaults] integerForKey:storageKey]; </code></pre>