Skip to content

Commit

Permalink
Removed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mozharovsky committed Nov 18, 2016
1 parent 6ba0851 commit 502969b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified Example/.DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@
TargetAttributes = {
048680621D8E204C004B011E = {
CreatedOnToolsVersion = 8.0;
DevelopmentTeam = RG4N372RZE;
LastSwiftMigration = 0800;
ProvisioningStyle = Automatic;
};
Expand Down Expand Up @@ -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";
Expand All @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion OnboardingKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Pod::Spec.new do |s|
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Eugene Mozharovsky" => "[email protected]" }
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"
Expand Down
8 changes: 4 additions & 4 deletions Source/TZStackView/TZStackView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ open class TZStackView: UIView {
switch distribution {
case .fillEqually, .fill, .fillProportionally:
if alignment != .fill || layoutMarginsRelativeArrangement {
addSpacerView()
_ = addSpacerView()
}

stackViewConstraints += createMatchEdgesContraints(arrangedSubviews)
Expand Down Expand Up @@ -248,7 +248,7 @@ open class TZStackView: UIView {
index += 1
}
if spacerViews.count == 0 {
addSpacerView()
_ = addSpacerView()
}

stackViewConstraints += createMatchEdgesContraints(arrangedSubviews)
Expand All @@ -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)
Expand Down

0 comments on commit 502969b

Please sign in to comment.