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

[Release v1.5.0] Support both of Swift 5 and 4.2 #177

Merged
merged 3 commits into from Apr 6, 2019
Merged

Conversation

scenee
Copy link
Owner

@scenee scenee commented Mar 29, 2019

It's time for FloatingPanel to support both of Swift 5 and Swift 4.x.
The default Swift version becomes 5.0, but the library still supports Swift 4.0/4.1.

I'm sorry I could have supported both of 4.2 and 4.0/4.1 earlier according to #117.
But after this PR you won't bother Xcode warnings about migration to Swift 4.2 or 5.0.

This PR is planning to be released in v1.5.0.

@scenee scenee force-pushed the support-swift5 branch 3 times, most recently from da51054 to cb892e7 Compare March 29, 2019 05:13
@scenee scenee changed the title Support both of Swift 5 and 4.2 [WIP] Support both of Swift 5 and 4.2 Mar 29, 2019
@scenee scenee force-pushed the support-swift5 branch 5 times, most recently from 9833d81 to c5af1b2 Compare April 3, 2019 12:33
@scenee scenee changed the title [WIP] Support both of Swift 5 and 4.2 [Release v1.5.0] Support both of Swift 5 and 4.2 Apr 3, 2019
@scenee scenee force-pushed the support-swift5 branch 2 times, most recently from 44471e5 to f3dac46 Compare April 4, 2019 01:36
@scenee
Copy link
Owner Author

scenee commented Apr 4, 2019

Resolve #182

@scenee
Copy link
Owner Author

scenee commented Apr 4, 2019

The default Swift version leaves 4.0. Because it avoids build errors with Carthage on each Xcode version from the source compatibility between Swift 4.0, 4.2 and 5.0.

With regard to CocoaPods, the pod spec is going to support swift_versions introduced in CocoaPods v1.7.0. For now, a user needs to override SWIFT_VERSION appropriately in Podfile.

The default Swift version leaves 4.0. Because it avoids build errors
with Carthage on each Xcode version from the source compatibility
between Swift 4.0, 4.2 and 5.0.

With regard to CocoaPods, the pod spec is going to support
`swift_versions` introduced in CocoaPods v1.7.0. For now, a user needs
to override `SWIFT_VERSION` appropriately in Podfile.
@Jamonek
Copy link

Jamonek commented Apr 4, 2019

Looking forward to this!

@scenee scenee merged commit af76786 into master Apr 6, 2019
@scenee scenee deleted the support-swift5 branch April 6, 2019 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants