1#ifndef YAZE_APP_CORE_PLATFORM_APP_DELEGATE_H
2#define YAZE_APP_CORE_PLATFORM_APP_DELEGATE_H
4#if defined(__APPLE__) && defined(__MACH__)
6#import <CoreText/CoreText.h>
7#include <TargetConditionals.h>
9#if TARGET_IPHONE_SIMULATOR == 1 || TARGET_OS_IPHONE == 1
11#import <UIKit/UIKit.h>
13#import <PencilKit/PencilKit.h>
15@interface AppDelegate : UIResponder <UIApplicationDelegate, UIDocumentPickerDelegate, UITabBarControllerDelegate, PKCanvasViewDelegate>
16@property (strong, nonatomic) UIWindow *window;
18@property UIDocumentPickerViewController *documentPicker;
19@property (nonatomic, copy)
void (^completionHandler)(NSString *selectedFile);
20- (void)PresentDocumentPickerWithCompletionHandler:(
void (^)(NSString *selectedFile))completionHandler;
23@property (nonatomic) UITabBarController *tabBarController;
26@property (nonatomic) UIFontPickerViewController *fontPicker;
29@property PKToolPicker *toolPicker;
30@property PKCanvasView *canvasView;
33@property NSFileManager *fileManager;
37#elif TARGET_OS_MAC == 1
43void InitializeCocoa();