title: iOS: Saving high-score locally
body: <p>I want to save an high-score for local use only. A single int, that holds your highest score so i can test against it when a new score is made.</p>
  
  <p>Would you recommend using the plist?</p>
  
  <p>Something like:</p>
  
  <pre><code>NSString *path = [[NSBundle mainBundle] bundlePath];
  NSString *finalPath = [path stringByAppendingPathComponent:@"Info.plist"];
  NSDictionary *plistData = [[NSDictionary dictionaryWithContentsOfFile:finalPath] retain];
  
  versionLabel = [[UILabel alloc] initWithFrame:CGRectMake(100,100,60,25)]; // for example
  versionLabel.backgroundColor = [UIColor clearColor];
  versionLabel.textColor = [UIColor whiteColor];
  versionLabel.font = [UIFont systemFontOfSize:10];
  NSString *versionString = [NSString stringWithFormat:@"v%@", [plistData objectForKey:@"CFBundleVersion"]];
  versionLabel.text = versionString;
  [self.view addSubview:versionLabel];
  </code></pre>
  
  <p>will this data be available the next time the app is opened?</p>