Skip to content
This repository
Newer
Older
100644 22 lines (19 sloc) 0.533 kb
46332418 »
2011-12-03 Initial commit.
1 //
2 // main.m
3 // ViewDeckExample
4 //
5
6 #import <UIKit/UIKit.h>
7
8 #import "AppDelegate.h"
9
10 int main(int argc, char *argv[])
11 {
0d9a9559 »
2012-02-08 Fixed some issues when trying to compile with GCC 4.2.
12 #if __has_feature(objc_arc) && __clang_major__ >= 3
46332418 »
2011-12-03 Initial commit.
13 @autoreleasepool {
14 return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15 }
0d9a9559 »
2012-02-08 Fixed some issues when trying to compile with GCC 4.2.
16 #else
17 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
18 int retVal = UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
19 [pool release];
20 return retVal;
21 #endif // __has_feature(objc_arc)
46332418 »
2011-12-03 Initial commit.
22 }
Something went wrong with that request. Please try again.