You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
800 B
44 lines
800 B
//
|
|
// main.m
|
|
// TestHost
|
|
//
|
|
// Created by Thomas Goyne on 8/6/14.
|
|
// Copyright (c) 2014 Realm. All rights reserved.
|
|
//
|
|
|
|
#import <TargetConditionals.h>
|
|
|
|
#if TARGET_OS_WATCH
|
|
|
|
// watchOS doesn't support testing at this time.
|
|
int main(int argc, const char *argv[]) {
|
|
}
|
|
|
|
#elif TARGET_OS_IPHONE || TARGET_OS_TV
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@interface AppDelegate : UIResponder <UIApplicationDelegate>
|
|
@property (strong, nonatomic) UIWindow *window;
|
|
@end
|
|
|
|
@implementation AppDelegate
|
|
@end
|
|
|
|
int main(int argc, char *argv[]) {
|
|
@autoreleasepool {
|
|
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
|
|
}
|
|
}
|
|
|
|
#else
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
int main(int argc, const char *argv[]) {
|
|
@autoreleasepool {
|
|
return NSApplicationMain(argc, argv);
|
|
}
|
|
}
|
|
|
|
#endif
|
|
|