Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Minor code reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mattt committed Jun 19, 2012
1 parent 06d0990 commit c4f07c4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Example/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ @implementation AppDelegate
@synthesize window = _window;
@synthesize navigationController = _navigationController;

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
NSURLCache *URLCache = [[NSURLCache alloc] initWithMemoryCapacity:1024 * 1024 diskCapacity:1024 * 1024 * 5 diskPath:nil];
[NSURLCache setSharedURLCache:URLCache];

Expand Down Expand Up @@ -78,7 +80,9 @@ - (void)applicationDidFinishLaunching:(NSNotification *)notification {
}];
}

- (BOOL)applicationShouldHandleReopen:(NSApplication *)theApplication hasVisibleWindows:(BOOL)flag {
- (BOOL)applicationShouldHandleReopen:(NSApplication *)application
hasVisibleWindows:(BOOL)flag
{
[self.window makeKeyAndOrderFront:self];

return YES;
Expand Down

0 comments on commit c4f07c4

Please sign in to comment.