Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Officially convert project to Swift 4.2 #97

Merged
merged 3 commits into from
Nov 15, 2018

Conversation

palpatim
Copy link
Contributor

Previously, the project used some Swift 4.2 idioms even though the
SWIFT_VERSION was officially set to 3. This change makes the support explicit
in both the project file and README.

Issue #, if available:

Following up on #84

Description of changes:

Updates SWIFT_VERSION to 4.2 in project and Podspec. Adds a .swift-version file for Pod linting. Converted some deprecated uses.

NOTE: I used Swift 3.0-style @objc migration. This will provide backward compatibility at the cost of not reducing binary size. Since there were only a couple of @objc annotations added during the migration, it's likely that the binary size savings would be minimal.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Previously, the project used some Swift 4.2 idioms even though the
SWIFT_VERSION was officially set to 3. This change makes the support explicit
in both the project file and README.
@palpatim palpatim requested a review from rohandubal November 13, 2018 23:03
@frankmuellr frankmuellr added contribution Community contribution PRs AppSync labels Nov 14, 2018
@rohandubal rohandubal merged commit 4a0df0c into master Nov 15, 2018
@rohandubal rohandubal deleted the palpatim/convert-to-swift-4.2 branch November 15, 2018 21:25
rohandubal pushed a commit that referenced this pull request Nov 16, 2018
* Officially convert project to Swift 4.2

Previously, the project used some Swift 4.2 idioms even though the
SWIFT_VERSION was officially set to 3. This change makes the support explicit
in both the project file and README.

* Updated CHANGELOG, fix invalid let binding in swizzle test helper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution Community contribution PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants