[yoga] Support SPM (Swift Package Manager) #1096
@@ -8,10 +8,10 @@
|
|||||||
#import <TargetConditionals.h>
|
#import <TargetConditionals.h>
|
||||||
|
|
||||||
#if TARGET_OS_OSX
|
#if TARGET_OS_OSX
|
||||||
#import <AppKit/AppKit.h>
|
@import AppKit;
|
||||||
#define UIView NSView
|
#define UIView NSView
|
||||||
#else
|
#else
|
||||||
#import <UIKit/UIKit.h>
|
@import UIKit;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#import "YogaKit.h"
|
#import "YogaKit.h"
|
||||||
|
@@ -5,9 +5,9 @@
|
|||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#import <objc/runtime.h>
|
|
||||||
#import "UIView+Yoga.h"
|
#import "UIView+Yoga.h"
|
||||||
#import "YGLayout+Private.h"
|
#import "YGLayout+Private.h"
|
||||||
|
@import ObjectiveC;
|
||||||
|
|
||||||
static const void* kYGYogaAssociatedKey = &kYGYogaAssociatedKey;
|
static const void* kYGYogaAssociatedKey = &kYGYogaAssociatedKey;
|
||||||
|
|
||||||
|
@@ -8,9 +8,9 @@
|
|||||||
#import <TargetConditionals.h>
|
#import <TargetConditionals.h>
|
||||||
|
|
||||||
#if TARGET_OS_OSX
|
#if TARGET_OS_OSX
|
||||||
#import <AppKit/AppKit.h>
|
@import AppKit;
|
||||||
#else
|
#else
|
||||||
#import <UIKit/UIKit.h>
|
@import UIKit;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#import "../../yoga/YGEnums.h"
|
#import "../../yoga/YGEnums.h"
|
||||||
|
@@ -1,2 +0,0 @@
|
|||||||
#import "../YogaKit.h"
|
|
||||||
#import "../UIView+Yoga.h"
|
|
@@ -1,4 +1,5 @@
|
|||||||
module YogaKit {
|
module YogaKit {
|
||||||
umbrella header "YogaKit-umbrella.h"
|
header "../YogaKit.h"
|
||||||
|
header "../UIView+Yoga.h"
|
||||||
export *
|
export *
|
||||||
}
|
}
|
||||||
|
@@ -1,8 +0,0 @@
|
|||||||
#ifdef __OBJC__
|
|
||||||
#import <Foundation/Foundation.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#import "../YGEnums.h"
|
|
||||||
#import "../YGMacros.h"
|
|
||||||
#import "../YGValue.h"
|
|
||||||
#import "../Yoga.h"
|
|
@@ -1,4 +1,7 @@
|
|||||||
module Yoga [extern_c] {
|
module Yoga [extern_c] {
|
||||||
umbrella header "Yoga-umbrella.h"
|
header "../Yoga.h"
|
||||||
|
header "../YGValue.h"
|
||||||
|
header "../YGMacros.h"
|
||||||
|
header "../YGEnums.h"
|
||||||
export *
|
export *
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user