blob: 71348643546dd0309d696b6713bdbb2992b42252 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*
Copyright (C) 2015 Apple Inc. All Rights Reserved.
See LICENSE.txt for this sample’s licensing information
Abstract:
Standard AppKit entry point.
*/
#if PLATFORM_IOS
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#else // OS X
#import <Cocoa/Cocoa.h>
#endif
int main(int argc, char * argv[]) {
#if PLATFORM_IOS
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
#else
return NSApplicationMain(argc, (const char**)argv);
#endif
}
|