diff --git a/Yoga.podspec b/Yoga.podspec index 2feb55ec..75075fa6 100644 --- a/Yoga.podspec +++ b/Yoga.podspec @@ -19,7 +19,7 @@ Pod::Spec.new do |spec| :tag => spec.version.to_s, } 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.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' diff --git a/YogaKit/Source/YGLayoutExtensions.swift b/YogaKit/Source/YGLayoutExtensions.swift index 2157c0ff..5bc191aa 100644 --- a/YogaKit/Source/YGLayoutExtensions.swift +++ b/YogaKit/Source/YGLayoutExtensions.swift @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -import yoga; +import Yoga postfix operator % extension Int {