Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Modernize SSCatalog main.m

  • Loading branch information...
commit 569df34f902343ae96c4313105316deb5181f993 1 parent b8b2d76
@soffes soffes authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 SSCatalog/Other Sources/main.m
View
9 SSCatalog/Other Sources/main.m
@@ -6,9 +6,10 @@
// Copyright 2009 Sam Soffes, Inc. All rights reserved.
//
+#import "SCAppDelegate.h"
+
int main(int argc, char *argv[]) {
- NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
- int retVal = UIApplicationMain(argc, argv, nil, @"SCAppDelegate");
- [pool release];
- return retVal;
+ @autoreleasepool {
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([SCAppDelegate class]));
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.