RbSwift
RbSwift copied to clipboard
Extensions for Swift with hundreds of handy methods.
Although ```swift public static func chdir(_ path: String = "~", closure: (() -> T)) -> T { let pwd = Dir.pwd Dir.chdir(path) let result = closure() Dir.chdir(pwd) return result }...
Carthage build failed on Apple Swift version 4.2.1. Cartfile: ``` github "Draveness/RbSwift" "master" ``` ```bash ✘ /d/s/macOS master ± carthage update --platform macOS *** Fetching RbSwift...
Compile with XCode 9-beta failed: `Value of type 'Character' has no member 'length'` `Binary operator '==' cannot be applied to operands of type 'String' and 'Character'`
I tried this in playground: >let count = [1, 2, 3, nil, nil, 4, 5, 6, 7] > .flatten() and I got an error: >Playground execution failed: > >error: RbSwift.playground:1:6:...