Skip to content

Removing String's deprecated APIs and modifying for Swift 4 #42

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

Closed
wants to merge 1 commit into from

Conversation

avinashdongarwar
Copy link

Removed use of substring(from) api and updated for new syntax.

@kylef
Copy link
Owner

kylef commented Dec 25, 2017

This would break Swift 3 compatibility wouldn't it?

@keith
Copy link
Collaborator

keith commented Jan 18, 2018

This doesn't break 3.2 compatibility, because this was valid and just warned for that version. I think that Xcode 8 support is already broken since the Package.swift is in tools version 4.

@avinashdongarwar can you rebase here?

@keith
Copy link
Collaborator

keith commented Jan 18, 2018

You can see this still works with:

swift build -Xswiftc -swift-version -Xswiftc 3

@keith
Copy link
Collaborator

keith commented Mar 23, 2018

Thanks for submitting this, this has been fixed as part of #48 and release as 0.9.1

@keith keith closed this Mar 23, 2018
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.

3 participants