Skip to content

Commit 74b44e4

Browse files
Nuke boilerplate; Spelling is hard.
1 parent 37cd2b8 commit 74b44e4

1 file changed

Lines changed: 2 additions & 30 deletions

File tree

SportsJSONParser/AppDelegate.m

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ @implementation AppDelegate
1414

1515
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
1616
{
17-
// Override point for customization after application launch.
18-
1917
//Create the window object to take up the entire bounds of the screen.
2018
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
2119

@@ -31,10 +29,10 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
3129
[sportsMutableArray addObject:sport];
3230
}
3331

34-
//Create a tableview controller using the array of sport objects we've used so far.
32+
//Create a tableview controller using the array of sport objects we've just created.
3533
SportsTableViewController *sportsTVC = [[SportsTableViewController alloc] initWithSports:sportsMutableArray];
3634

37-
//Create a navication controller with the sports TVC
35+
//Create a navigation controller with the sports TVC
3836
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:sportsTVC];
3937

4038

@@ -43,33 +41,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
4341
[self.window makeKeyAndVisible];
4442
return YES;
4543
}
46-
47-
- (void)applicationWillResignActive:(UIApplication *)application
48-
{
49-
// 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.
50-
// 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.
51-
}
52-
53-
- (void)applicationDidEnterBackground:(UIApplication *)application
54-
{
55-
// 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.
56-
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
57-
}
58-
59-
- (void)applicationWillEnterForeground:(UIApplication *)application
60-
{
61-
// 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.
62-
}
6344

64-
- (void)applicationDidBecomeActive:(UIApplication *)application
65-
{
66-
// 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.
67-
}
68-
69-
- (void)applicationWillTerminate:(UIApplication *)application
70-
{
71-
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
72-
}
7345

7446
#pragma mark - Data loaders
7547
-(NSArray *)arrayFromPlistFile

0 commit comments

Comments
 (0)