From 1d32f7561305d6c86b1c80858bc73d55b1c6c402 Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Wed, 29 Jan 2025 01:14:41 +0100 Subject: (untested) game controller support --- app/mac/view-controller.hh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'app/mac/view-controller.hh') diff --git a/app/mac/view-controller.hh b/app/mac/view-controller.hh index 4947b99..2eecd4e 100644 --- a/app/mac/view-controller.hh +++ b/app/mac/view-controller.hh @@ -3,15 +3,20 @@ #import #import +NS_ASSUME_NONNULL_BEGIN + @interface ViewController : GCEventViewController - (instancetype)initWithFilePath:(NSString*)filePath NS_DESIGNATED_INITIALIZER; -- (instancetype)initWithNibName:(NSString*)nibNameOrNil bundle:(NSBundle*)nibBundleOrNil NS_UNAVAILABLE; +- (instancetype)initWithNibName:(nullable NSString*)nibNameOrNil + bundle:(nullable NSBundle*)nibBundleOrNil NS_UNAVAILABLE; - (instancetype)initWithCoder:(NSCoder*)coder NS_UNAVAILABLE; - (instancetype)init NS_UNAVAILABLE; @property (readonly) NSSize minimumDisplaySize; @property (readonly) NSSize preferredDisplaySize; -@end \ No newline at end of file +@end + +NS_ASSUME_NONNULL_END \ No newline at end of file -- cgit v1.3.1