From 502969b3a05878f64bdb8f9809d41a169fd29145 Mon Sep 17 00:00:00 2001 From: Eugene Mozharovsky Date: Fri, 18 Nov 2016 23:27:26 +0300 Subject: [PATCH] Removed warnings --- .DS_Store | Bin 10244 -> 10244 bytes Example/.DS_Store | Bin 6148 -> 6148 bytes .../project.pbxproj | 7 +++++-- OnboardingKit.podspec | 2 +- Source/TZStackView/TZStackView.swift | 8 ++++---- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.DS_Store b/.DS_Store index 9440645fa2a4d9bda0c432774aab9b49a19af7c3..8545bbfd5752de9514b8ef6f9be97c32f369f808 100644 GIT binary patch delta 456 zcmZn(XbIS0CcwhLz~HmlN+6Ai(SPznAw`LkNd-BX#U%y?*BP0ZSy8SX>L^s3n;U@GX0^2(9O9~m zww?*Ol~vU>wRJOrmH`1HBZOw)hte==*5*CJkC-^Uf&4lDfnf4-vDyK4ketLz_K6J% Wo7olqvTQaH&0-u(uA3|;;RXP=acFM< delta 192 zcmZn(XbIS0CcyF^2sT>@q%kpiOkOCYIQgN#Ite37OC1FhBg8SX>L^s3n;U@GX0^2(9O9~mww?*Ol~vU>wRJNYz<`kv eLNo9~X&5zYas!jv=8Mc`EE5|HHnVg5@JXoXnC+4o(n^7m%o~HnOzTQ7|#G ztkqGdHa9l_vW?AZYXvrPa7b&KI{HQy)OIaeykzOJh0JCwo7p-3@&f=~2{F_F 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)