Browse files

Modernize SSCatalog main.m

  • Loading branch information...
1 parent b8b2d76 commit 569df34f902343ae96c4313105316deb5181f993 @soffes soffes committed Oct 9, 2011
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]));
+ }
}

0 comments on commit 569df34

Please sign in to comment.