Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 23 lines (19 sloc) 0.533 kB
4633241 @Inferis Initial commit.
Inferis authored
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 {
0d9a955 @Inferis Fixed some issues when trying to compile with GCC 4.2.
Inferis authored
12 #if __has_feature(objc_arc) && __clang_major__ >= 3
4633241 @Inferis Initial commit.
Inferis authored
13 @autoreleasepool {
14 return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15 }
0d9a955 @Inferis Fixed some issues when trying to compile with GCC 4.2.
Inferis authored
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)
4633241 @Inferis Initial commit.
Inferis authored
22 }
Something went wrong with that request. Please try again.