[YogaKit] support macOS, tvOS, Carthage; auto apply layout like AutoLayout. #1026

Closed
cntrump wants to merge 38 commits from yogakit_autoapplylayout_patch into main
55 changed files with 2316 additions and 125 deletions
Showing only changes of commit 890edf5af0 - Show all commits

View File

@@ -19,7 +19,7 @@ Pod::Spec.new do |spec|
:tag => spec.version.to_s, :tag => spec.version.to_s,
} }
spec.platforms = { :ios => "8.0", :osx => "10.7", :tvos => "9.0", :watchos => "2.0" } spec.platforms = { :ios => "8.0", :osx => "10.7", :tvos => "9.0", :watchos => "2.0" }
spec.module_name = 'yoga' spec.module_name = 'Yoga'
spec.requires_arc = false spec.requires_arc = false
spec.pod_target_xcconfig = { spec.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES' 'DEFINES_MODULE' => 'YES'

View File

@@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*/ */
import yoga; import Yoga
postfix operator % postfix operator %
extension Int { extension Int {