Skip to content

Commit 2325a46

Browse files
committed
Swift 4.2 fix
1 parent 074358f commit 2325a46

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

MSCircularSliderExample/MSCircularSlider/MSCircularSlider.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ public class MSCircularSlider: UIControl {
504504
/** Draws the slider's labels (if any exist) in the given context */
505505
private func drawLabels(ctx: CGContext) {
506506
if labels.count > 0 {
507-
let attributes = [NSAttributedStringKey.font: labelFont, NSAttributedStringKey.foregroundColor: labelColor] as [NSAttributedString.Key : Any]
507+
let attributes = [NSAttributedString.Key.font: labelFont, NSAttributedString.Key.foregroundColor: labelColor] as [NSAttributedString.Key : Any]
508508

509509
for i in 0 ..< labels.count {
510510
let label = labels[i] as NSString

MSCircularSliderExample/MSCircularSliderExample.xcodeproj/project.pbxproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
TargetAttributes = {
141141
D96C34831F813B050041B50C = {
142142
CreatedOnToolsVersion = 8.3.3;
143+
DevelopmentTeam = 7L72FBCFDH;
143144
LastSwiftMigration = 0900;
144145
ProvisioningStyle = Automatic;
145146
};
@@ -335,7 +336,7 @@
335336
isa = XCBuildConfiguration;
336337
buildSettings = {
337338
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
338-
DEVELOPMENT_TEAM = "";
339+
DEVELOPMENT_TEAM = 7L72FBCFDH;
339340
INFOPLIST_FILE = MSCircularSliderExample/Info.plist;
340341
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
341342
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
@@ -350,7 +351,7 @@
350351
isa = XCBuildConfiguration;
351352
buildSettings = {
352353
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
353-
DEVELOPMENT_TEAM = "";
354+
DEVELOPMENT_TEAM = 7L72FBCFDH;
354355
INFOPLIST_FILE = MSCircularSliderExample/Info.plist;
355356
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
356357
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";

0 commit comments

Comments
 (0)