Minor restructuring of project file and app delegate in example

This commit is contained in:
Mattt Thompson 2012-09-24 08:27:18 -07:00
parent df140116b8
commit f523744cf0
3 changed files with 17 additions and 17 deletions

View file

@ -112,6 +112,8 @@
children = (
F8129C311591073C009BFE23 /* AFTwitterAPIClient.h */,
F8129C251591073C009BFE23 /* AFTwitterAPIClient.m */,
F8129C7615910C40009BFE23 /* AppDelegate.h */,
F8129C7515910C40009BFE23 /* AppDelegate.m */,
F8129C291591073C009BFE23 /* Models */,
F8129C061591061B009BFE23 /* Supporting Files */,
);
@ -122,8 +124,6 @@
F8129C061591061B009BFE23 /* Supporting Files */ = {
isa = PBXGroup;
children = (
F8129C7615910C40009BFE23 /* AppDelegate.h */,
F8129C7515910C40009BFE23 /* AppDelegate.m */,
F8129C6E15910B15009BFE23 /* main.m */,
F8129C7015910B3E009BFE23 /* MainMenu.xib */,
);

View file

@ -172,6 +172,8 @@
F8E4696A1395739D00DB05C8 /* Classes */ = {
isa = PBXGroup;
children = (
F8129C7315910C37009BFE23 /* AppDelegate.h */,
F8129C7215910C37009BFE23 /* AppDelegate.m */,
F8DA09C91396AB690057D0CC /* Models */,
F8DA09CC1396AB690057D0CC /* Views */,
F8DA09C61396AB690057D0CC /* Controllers */,
@ -186,8 +188,6 @@
children = (
F8DA09E31396AC040057D0CC /* main.m */,
F8129C3815910830009BFE23 /* Prefix.pch */,
F8129C7315910C37009BFE23 /* AppDelegate.h */,
F8129C7215910C37009BFE23 /* AppDelegate.m */,
F8E4696C1395739D00DB05C8 /* iOS-Info.plist */,
);
name = "Supporting Files";

View file

@ -38,18 +38,18 @@ didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
NSURLCache *URLCache = [[NSURLCache alloc] initWithMemoryCapacity:4 * 1024 * 1024 diskCapacity:20 * 1024 * 1024 diskPath:nil];
[NSURLCache setSharedURLCache:URLCache];
[[AFNetworkActivityIndicatorManager sharedManager] setEnabled:YES];
[[AFNetworkActivityIndicatorManager sharedManager] setEnabled:YES];
UITableViewController *viewController = [[PublicTimelineViewController alloc] initWithStyle:UITableViewStylePlain];
self.navigationController = [[UINavigationController alloc] initWithRootViewController:viewController];
self.navigationController.navigationBar.tintColor = [UIColor darkGrayColor];
UITableViewController *viewController = [[PublicTimelineViewController alloc] initWithStyle:UITableViewStylePlain];
self.navigationController = [[UINavigationController alloc] initWithRootViewController:viewController];
self.navigationController.navigationBar.tintColor = [UIColor darkGrayColor];
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.backgroundColor = [UIColor whiteColor];
self.window.rootViewController = self.navigationController;
[self.window makeKeyAndVisible];
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.backgroundColor = [UIColor whiteColor];
self.window.rootViewController = self.navigationController;
[self.window makeKeyAndVisible];
return YES;
return YES;
}
@end