Open ayn opened 8 years ago
A maintained one: https://github.com/goktugyil/EZSwiftExtensions
Hi @ayn and thanks for your PR. I've encountered a few issues with it:
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'
“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?
@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.
@ayn Thank you!
FYI flatten()
does not seem to work anymore.
@ayn Also, using capitalized
results in an infinite loop:
public extension String {
var capitalized: String { return self.capitalized }
}
@carole-lavillonniere feel free to send me a PR and I'll test and merge.
@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.
Another alternative https://github.com/ankurp/Cent
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.