Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Commit

Permalink
Upgraded to Swift 5
Browse files Browse the repository at this point in the history
  • Loading branch information
bok- committed Apr 22, 2019
1 parent 3782499 commit ab6d0eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions Salon.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@
TargetAttributes = {
E89F76A62089C47E00E9C781 = {
CreatedOnToolsVersion = 9.3;
LastSwiftMigration = 0930;
LastSwiftMigration = 1020;
};
E89F76AF2089C47E00E9C781 = {
CreatedOnToolsVersion = 9.3;
LastSwiftMigration = 0930;
LastSwiftMigration = 1020;
};
};
};
Expand All @@ -180,6 +180,7 @@
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = E89F769D2089C47E00E9C781;
productRefGroup = E89F76A82089C47E00E9C781 /* Products */;
Expand Down Expand Up @@ -384,7 +385,7 @@
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand All @@ -410,7 +411,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.unsignedapps.salon;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
Expand All @@ -431,7 +432,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.unsignedapps.SalonTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand All @@ -451,7 +452,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = com.unsignedapps.SalonTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
Expand Down
2 changes: 1 addition & 1 deletion Salon/Conditions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ extension ViewStyle.Condition where T: UIControl {
///
/// - Returns: The new Condition.
///
public static func controlState (equals state: UIControlState) -> ViewStyle.Condition {
public static func controlState (equals state: UIControl.State) -> ViewStyle.Condition {
return ViewStyle.Condition { $0.state == state }
}
}
Expand Down

0 comments on commit ab6d0eb

Please sign in to comment.