anatoliyv / AssistantKit

Easy way to detect iOS device properties, OS versions and work with screen sizes. Powered by Swift.
MIT License
587 stars 52 forks source link

Swift4.2 #16

Closed plflanagan closed 6 years ago

plflanagan commented 6 years ago

This PR migrates the codebase to Swift 4.2

I used the native migration tool to convert all the syntax to 4.2. I then took the additional step of changing the build setting SWIFT_SWIFT3_OBJC_INFERENCE to Default, as Apple's migration guide mentions.

Beyond this work, there were two other files that I added to .git_ignore, as they were at least showing up to me as untracked. I also changed other build settings to the recommended settings, according to Xcode warnings.

anatoliyv commented 6 years ago

@plflanagan Thank you!