Get application options

by alex 10. March 2009 15:10

BOOL isSomething = [[NSUserDefaults standardUserDefaults] boolForKey:@"enabled_something"];

NSInteger someIntValue = [[NSUserDefaults standardUserDefaults] integerForKey:@"some_integer"];


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

General

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen