Permalink
Browse files

Cleaning up the sample project a bit, this still needs a lot of work

  • Loading branch information...
1 parent 5a98586 commit 9022615bbad569672dc993200fd8a1a7c189955e @kgn committed Feb 9, 2013
@@ -37,7 +37,7 @@ - (void)awakeFromNib{
self.userSettingsLabel4.text = [NSString stringWithFormat:@"%@", [[NSUserDefaults standardUserDefaults] objectForKey:@"slider_key"]];
//setup InAppSettings notifications of then user defaults change
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(InAppSettingsNotificationHandler:) name:InAppSettingsNotification object:nil];
+ [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(InAppSettingsNotificationHandler:) name:InAppSettingsValueChangeNotification object:nil];
}
//push InAppSettings onto the navigation stack
@@ -26,5 +26,11 @@
<true/>
<key>NSMainNibFile</key>
<string>MainWindow</string>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
</dict>
</plist>
@@ -289,6 +289,7 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = InAppSettingsTestApp_Prefix.pch;
INFOPLIST_FILE = "InAppSettingsTestApp-Info.plist";
+ IPHONEOS_DEPLOYMENT_TARGET = 5.0;
PRODUCT_NAME = InAppSettingsTestApp;
};
name = Debug;
@@ -302,6 +303,7 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = InAppSettingsTestApp_Prefix.pch;
INFOPLIST_FILE = "InAppSettingsTestApp-Info.plist";
+ IPHONEOS_DEPLOYMENT_TARGET = 5.0;
PRODUCT_NAME = InAppSettingsTestApp;
};
name = Release;
Oops, something went wrong.

0 comments on commit 9022615

Please sign in to comment.