diff --git a/.DS_Store b/.DS_Store index 9440645..8545bbf 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/Example/.DS_Store b/Example/.DS_Store index bbb0bda..620d4db 100644 Binary files a/Example/.DS_Store and b/Example/.DS_Store differ diff --git a/Example/Athlee-Onboarding/OnboardingKit Swift3.xcodeproj/project.pbxproj b/Example/Athlee-Onboarding/OnboardingKit Swift3.xcodeproj/project.pbxproj index 0d7ed1e..6f92f14 100644 --- a/Example/Athlee-Onboarding/OnboardingKit Swift3.xcodeproj/project.pbxproj +++ b/Example/Athlee-Onboarding/OnboardingKit Swift3.xcodeproj/project.pbxproj @@ -251,6 +251,7 @@ TargetAttributes = { 048680621D8E204C004B011E = { CreatedOnToolsVersion = 8.0; + DevelopmentTeam = RG4N372RZE; LastSwiftMigration = 0800; ProvisioningStyle = Automatic; }; @@ -455,7 +456,8 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + DEVELOPMENT_TEAM = RG4N372RZE; INFOPLIST_FILE = "OnboardingKit Swift3/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "com.athlee.OnboardingKit-Swift3"; @@ -468,7 +470,8 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + DEVELOPMENT_TEAM = RG4N372RZE; INFOPLIST_FILE = "OnboardingKit Swift3/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "com.athlee.OnboardingKit-Swift3"; diff --git a/OnboardingKit.podspec b/OnboardingKit.podspec index 320f7b8..99d933a 100644 --- a/OnboardingKit.podspec +++ b/OnboardingKit.podspec @@ -15,7 +15,7 @@ Pod::Spec.new do |s| s.license = { :type => "MIT", :file => "LICENSE" } s.author = { "Eugene Mozharovsky" => "mozharovsky@live.com" } s.social_media_url = "http://twitter.com/dottieyottie" - s.platform = :ios, "9.0" + s.platform = :ios, "10.0" s.ios.deployment_target = "8.0" s.source = { :git => "https://github.com/Athlee/OnboardingKit.git", :tag => s.version } s.source_files = "Source/**/*.swift" diff --git a/Source/TZStackView/TZStackView.swift b/Source/TZStackView/TZStackView.swift index dfeee6b..cca567c 100755 --- a/Source/TZStackView/TZStackView.swift +++ b/Source/TZStackView/TZStackView.swift @@ -216,7 +216,7 @@ open class TZStackView: UIView { switch distribution { case .fillEqually, .fill, .fillProportionally: if alignment != .fill || layoutMarginsRelativeArrangement { - addSpacerView() + _ = addSpacerView() } stackViewConstraints += createMatchEdgesContraints(arrangedSubviews) @@ -248,7 +248,7 @@ open class TZStackView: UIView { index += 1 } if spacerViews.count == 0 { - addSpacerView() + _ = addSpacerView() } stackViewConstraints += createMatchEdgesContraints(arrangedSubviews) @@ -270,11 +270,11 @@ open class TZStackView: UIView { case .equalCentering: for (index, _) in visibleArrangedSubviews.enumerated() { if index > 0 { - addSpacerView() + _ = addSpacerView() } } if spacerViews.count == 0 { - addSpacerView() + _ = addSpacerView() } stackViewConstraints += createMatchEdgesContraints(arrangedSubviews)