mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 08:25:34 +00:00
app/internal/window: don't use module imports in framework header
Using the module import syntax "@import UIKit" results in a complaint from the compiler: > warning: use of '@import' in framework header is discouraged, > including this header requires -fmodules [-Watimport-in-framework-header] Use the regular #include syntax instead. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: Unlicense OR MIT
|
||||
|
||||
@import UIKit;
|
||||
#include <UIKit/UIKit.h>
|
||||
|
||||
@interface GioAppDelegate : UIResponder <UIApplicationDelegate>
|
||||
@property (strong, nonatomic) UIWindow *window;
|
||||
|
||||
Reference in New Issue
Block a user