Files
FlaxEngine/Source/Engine/Platform/iOS/iOSApp.h
2024-02-26 19:00:48 +01:00

35 lines
645 B
Objective-C

// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved.
#pragma once
#ifndef PLATFORM_IOS
// When included from generated XCode main.m file
#define PLATFORM_IOS 1
#define FLAXENGINE_API
#endif
#if PLATFORM_IOS
#import <UIKit/UIKit.h>
FLAXENGINE_API
@interface FlaxView : UIView
@end
FLAXENGINE_API
@interface FlaxViewController : UIViewController
@end
FLAXENGINE_API
@interface FlaxAppDelegate : UIResponder <UIApplicationDelegate>
@property(strong, retain, nonatomic) UIWindow* window;
@property(strong, retain, nonatomic) FlaxViewController* viewController;
@property(strong, retain, nonatomic) FlaxView* view;
@end
#endif