2024-11-10 22:11:29 +01:00
|
|
|
#import <QuartzCore/QuartzCore.h>
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
#import <Metal/Metal.h>
|
|
|
|
|
#import <QuartzCore/CAMetalLayer.h>
|
|
|
|
|
#import <CoreMotion/CMMotionManager.h>
|
|
|
|
|
|
2025-08-05 00:58:28 +02:00
|
|
|
@interface MyView : UIView <UIKeyInput> {
|
2024-11-10 22:11:29 +01:00
|
|
|
@private
|
|
|
|
|
id<MTLDevice> device;
|
2025-08-05 21:20:38 +02:00
|
|
|
id<MTLCommandQueue> queue;
|
2024-11-10 22:11:29 +01:00
|
|
|
id<MTLLibrary> library;
|
|
|
|
|
}
|
2025-08-05 21:20:38 +02:00
|
|
|
- (void)show_keyboard;
|
|
|
|
|
- (void)hide_keyboard;
|
|
|
|
|
- (CAMetalLayer *)metal_layer;
|
|
|
|
|
- (id<MTLDevice>)metal_device;
|
|
|
|
|
- (id<MTLCommandQueue>)metal_queue;
|
2025-08-05 00:58:28 +02:00
|
|
|
- (BOOL)hasText;
|
|
|
|
|
- (void)insertText:(NSString *)text;
|
|
|
|
|
- (void)deleteBackward;
|
2024-11-10 22:11:29 +01:00
|
|
|
@end
|
2025-02-26 18:46:36 +01:00
|
|
|
|
2025-08-05 00:58:28 +02:00
|
|
|
@interface MyViewController : UIViewController <UIDocumentPickerDelegate, UIDropInteractionDelegate> {}
|
2025-02-26 18:46:36 +01:00
|
|
|
- (void)loadView;
|
|
|
|
|
- (void)setVisible:(BOOL)value;
|
2025-08-05 00:58:28 +02:00
|
|
|
- (UIRectEdge)preferredScreenEdgesDeferringSystemGestures;
|
2025-02-26 18:46:36 +01:00
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
|
2025-08-05 00:58:28 +02:00
|
|
|
@interface IronSceneDelegate : UIResponder <UIWindowSceneDelegate> {}
|
|
|
|
|
@property (strong, nonatomic) UIWindow *window;
|
2025-02-26 18:46:36 +01:00
|
|
|
@end
|