Remove umbrella header

Replace `#import` with `@import`
This commit is contained in:
Lvv.me
2021-11-25 12:59:04 +08:00
parent d5c51d24be
commit cdb5f82ab5
7 changed files with 11 additions and 17 deletions

View File

@@ -8,10 +8,10 @@
#import <TargetConditionals.h>
#if TARGET_OS_OSX
#import <AppKit/AppKit.h>
@import AppKit;
#define UIView NSView
#else
#import <UIKit/UIKit.h>
@import UIKit;
#endif
#import "YogaKit.h"

View File

@@ -5,9 +5,9 @@
* LICENSE file in the root directory of this source tree.
*/
#import <objc/runtime.h>
#import "UIView+Yoga.h"
#import "YGLayout+Private.h"
@import ObjectiveC;
static const void* kYGYogaAssociatedKey = &kYGYogaAssociatedKey;

View File

@@ -8,9 +8,9 @@
#import <TargetConditionals.h>
#if TARGET_OS_OSX
#import <AppKit/AppKit.h>
@import AppKit;
#else
#import <UIKit/UIKit.h>
@import UIKit;
#endif
#import "../../yoga/YGEnums.h"

View File

@@ -1,2 +0,0 @@
#import "../YogaKit.h"
#import "../UIView+Yoga.h"

View File

@@ -1,4 +1,5 @@
module YogaKit {
umbrella header "YogaKit-umbrella.h"
header "../YogaKit.h"
header "../UIView+Yoga.h"
export *
}