Skip to content

Commit

Permalink
Migrating to Swift 4
Browse files Browse the repository at this point in the history
  • Loading branch information
icyKira committed Nov 2, 2017
1 parent 6181a75 commit 2e59f5d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions Neon.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@
};
03EDD3821BBF89910006C4A9 = {
CreatedOnToolsVersion = 7.1;
LastSwiftMigration = 0800;
LastSwiftMigration = 0900;
};
03EDD3961BBF8A4F0006C4A9 = {
CreatedOnToolsVersion = 7.1;
Expand Down Expand Up @@ -519,7 +519,8 @@
PRODUCT_NAME = Neon;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 3.0;
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 4.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand Down Expand Up @@ -548,7 +549,8 @@
PRODUCT_BUNDLE_IDENTIFIER = com.MikeAmaral.NeoniOS;
PRODUCT_NAME = Neon;
SKIP_INSTALL = YES;
SWIFT_VERSION = 3.0;
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 4.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand Down Expand Up @@ -577,7 +579,7 @@
SDKROOT = macosx;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 3.0;
SWIFT_VERSION = 4.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand Down Expand Up @@ -605,7 +607,7 @@
PRODUCT_NAME = Neon;
SDKROOT = macosx;
SKIP_INSTALL = YES;
SWIFT_VERSION = 3.0;
SWIFT_VERSION = 4.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
Expand Down
2 changes: 1 addition & 1 deletion Source/NeonExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ extension View : Frameable, Anchorable, Alignable, Groupable {
self.sizeToFit()
#else
self.autoresizesSubviews = true
self.autoresizingMask = [.viewWidthSizable, .viewHeightSizable]
self.autoresizingMask = [.width, .height]
#endif
}
}
Expand Down

0 comments on commit 2e59f5d

Please sign in to comment.