Skip to content

Commit

Permalink
Revert "Merge pull request layoutBox#221 from lukewakeford/fix/swift_…
Browse files Browse the repository at this point in the history
…package_flag"

This reverts commit 4677936, reversing
changes made to 1c9b64a.
sonny-park committed Jun 1, 2023

Verified

This commit was signed with the committer’s verified signature.
cz4rs Cezary Skrzyński
1 parent 6507106 commit e078c62
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Sources/Swift/FlexLayout.swift
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
// Created by Luc Dion on 2017-06-19.

import UIKit
#if FLEXLAYOUT_SWIFT_PACKAGE || SWIFT_PACKAGE
#if FLEXLAYOUT_SWIFT_PACKAGE
import FlexLayoutYogaKit
#endif

2 changes: 1 addition & 1 deletion Sources/Swift/Impl/FlexLayout+Enum.swift
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@

import UIKit

#if FLEXLAYOUT_SWIFT_PACKAGE || SWIFT_PACKAGE
#if FLEXLAYOUT_SWIFT_PACKAGE
import FlexLayoutYoga

extension YGFlexDirection {
2 changes: 1 addition & 1 deletion Sources/Swift/Impl/FlexLayout+Private.swift
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
//

import UIKit
#if FLEXLAYOUT_SWIFT_PACKAGE || SWIFT_PACKAGE
#if FLEXLAYOUT_SWIFT_PACKAGE
import FlexLayoutYoga
#endif

2 changes: 1 addition & 1 deletion Sources/Swift/YGLayoutExtensions.swift
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/

#if FLEXLAYOUT_SWIFT_PACKAGE || SWIFT_PACKAGE
#if FLEXLAYOUT_SWIFT_PACKAGE
import CoreGraphics
import FlexLayoutYoga
#endif
2 changes: 1 addition & 1 deletion Sources/YogaKit/include/YogaKit/YGLayout+Private.h
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
*/

#import "YGLayout.h"
#if FLEXLAYOUT_SWIFT_PACKAGE || SWIFT_PACKAGE
#if FLEXLAYOUT_SWIFT_PACKAGE
#import <yoga/Yoga.h>
#else
#import "Yoga.h"
2 changes: 1 addition & 1 deletion Sources/YogaKit/include/YogaKit/YGLayout.h
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

#import <UIKit/UIKit.h>

#if FLEXLAYOUT_SWIFT_PACKAGE || SWIFT_PACKAGE
#if FLEXLAYOUT_SWIFT_PACKAGE
#import <yoga/YGEnums.h>
#import <yoga/Yoga.h>
#import <yoga/YGMacros.h>

0 comments on commit e078c62

Please sign in to comment.