Remove umbrella header
Replace `#import` with `@import`
This commit is contained in:
@@ -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"
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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"
|
||||
|
@@ -1,2 +0,0 @@
|
||||
#import "../YogaKit.h"
|
||||
#import "../UIView+Yoga.h"
|
@@ -1,4 +1,5 @@
|
||||
module YogaKit {
|
||||
umbrella header "YogaKit-umbrella.h"
|
||||
header "../YogaKit.h"
|
||||
header "../UIView+Yoga.h"
|
||||
export *
|
||||
}
|
||||
|
Reference in New Issue
Block a user