2016-04-27 22:52:28 +02:00
|
|
|
//
|
|
|
|
// ViewController.h
|
|
|
|
// Mini vMac
|
|
|
|
//
|
|
|
|
// Created by Jesús A. Álvarez on 27/04/2016.
|
2018-04-28 12:12:43 +02:00
|
|
|
// Copyright © 2016-2018 namedfork. All rights reserved.
|
2016-04-27 22:52:28 +02:00
|
|
|
//
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
2016-05-01 23:44:47 +02:00
|
|
|
#import "ScreenView.h"
|
2016-05-14 13:01:02 +02:00
|
|
|
#import "KBKeyboardView.h"
|
2016-04-27 22:52:28 +02:00
|
|
|
|
2016-05-14 13:01:02 +02:00
|
|
|
@interface ViewController : UIViewController <KBKeyboardViewDelegate>
|
2016-04-27 22:52:28 +02:00
|
|
|
|
2016-05-01 23:44:47 +02:00
|
|
|
@property (weak, nonatomic) IBOutlet ScreenView *screenView;
|
2016-05-14 13:01:02 +02:00
|
|
|
@property (nonatomic, getter=isKeyboardVisible) BOOL keyboardVisible;
|
2020-06-23 18:32:07 +02:00
|
|
|
@property (weak, nonatomic) IBOutlet UIView *helpView;
|
|
|
|
|
|
|
|
- (IBAction)showGestureHelp:(id)sender;
|
|
|
|
- (IBAction)hideGestureHelp:(id)sender;
|
2024-02-10 12:15:01 +01:00
|
|
|
- (void)showKeyboard:(id)sender;
|
2016-04-27 22:52:28 +02:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
2024-02-10 12:15:01 +01:00
|
|
|
#if defined(TARGET_OS_VISION) && TARGET_OS_VISION == 1
|
|
|
|
@interface ViewController (VisionSupport)
|
|
|
|
@property (nonatomic, readonly) UIViewController* keyboardViewController;
|
|
|
|
- (void)initXr;
|
|
|
|
+ (void)adjustToScreenSize;
|
|
|
|
@end
|
|
|
|
#endif
|