Permalink
Browse files

Nuke boilerplate; Spelling is hard.

  • Loading branch information...
1 parent 37cd2b8 commit 74b44e413e679bc0ff1effa4d8c9080e9f305c9c @designatednerd committed Mar 21, 2015
Showing with 2 additions and 30 deletions.
  1. +2 −30 SportsJSONParser/AppDelegate.m
@@ -14,8 +14,6 @@ @implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
- // Override point for customization after application launch.
-
//Create the window object to take up the entire bounds of the screen.
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
@@ -31,10 +29,10 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
[sportsMutableArray addObject:sport];
}
- //Create a tableview controller using the array of sport objects we've used so far.
+ //Create a tableview controller using the array of sport objects we've just created.
SportsTableViewController *sportsTVC = [[SportsTableViewController alloc] initWithSports:sportsMutableArray];
- //Create a navication controller with the sports TVC
+ //Create a navigation controller with the sports TVC
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:sportsTVC];
@@ -43,33 +41,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
[self.window makeKeyAndVisible];
return YES;
}
-
-- (void)applicationWillResignActive:(UIApplication *)application
-{
- // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
- // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
-}
-
-- (void)applicationDidEnterBackground:(UIApplication *)application
-{
- // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
- // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
-}
-
-- (void)applicationWillEnterForeground:(UIApplication *)application
-{
- // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
-}
-- (void)applicationDidBecomeActive:(UIApplication *)application
-{
- // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
-}
-
-- (void)applicationWillTerminate:(UIApplication *)application
-{
- // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
-}
#pragma mark - Data loaders
-(NSArray *)arrayFromPlistFile

0 comments on commit 74b44e4

Please sign in to comment.