opengl-playground/imgui-submodule/imgui/examples/example_apple_metal/Shared/AppDelegate.h
2020-03-21 22:38:10 +01:00

19 lines
297 B
Objective-C

#import <TargetConditionals.h>
#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
#else
#import <Cocoa/Cocoa.h>
@interface AppDelegate : NSObject <NSApplicationDelegate>
@end
#endif