Skip to content
This repository has been archived by the owner on Mar 29, 2018. It is now read-only.

Swift 3 #153

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Swift 3 #153

wants to merge 13 commits into from

Conversation

ayn
Copy link

@ayn ayn commented Sep 15, 2016

I know this is no longer maintained, but just submitting this PR so others can try my swift 3 branch if you need this stuff to continue to work. I’ll push to my branch if I have more fixes.

@Esqarrouth
Copy link

@carole-lavillonniere
Copy link

Hi @ayn and thanks for your PR. I've encountered a few issues with it:

  • When I include it in in my project, Array.swift does not compile. There are several errors including a few of this:
/Vendor/ExSwift/ExSwift/Array.swift:228:26: Ambiguous use of 'subscript'
  • When I open you project and try to build it, I get this error:
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

Have you migrated with Xcode 8.0?

@ayn
Copy link
Author

ayn commented Sep 29, 2016

@carole-lavillonniere I just pushed an update, there might still be issues, but that's what I have in my current project so far. I've shelved swift 3 conversion for a bit to work on other stuff.

@carole-lavillonniere
Copy link

carole-lavillonniere commented Sep 30, 2016

@ayn Thank you!
FYI flatten() does not seem to work anymore.

@carole-lavillonniere
Copy link

carole-lavillonniere commented Sep 30, 2016

@ayn Also, using capitalized results in an infinite loop:

public extension String {
    var capitalized: String { return self.capitalized }
}

@ayn
Copy link
Author

ayn commented Sep 30, 2016

@carole-lavillonniere feel free to send me a PR and I'll test and merge.

@MattesGroeger
Copy link

@ayn thanks for your ongoing effort to keep ExSwift working! I think it's the best solution out there and really sad it's not maintained anymore by the owner.

@ankurp
Copy link

ankurp commented Jun 20, 2017

Another alternative https://github.com/ankurp/Cent

Swift 3 ambiguity + recurse call
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants