Missing immutable functions in Swift. You must be looking for somebody to make this library 😛
- Non-mutating
appending()
,inserting()
,removing()
functions inCollection
map()
andflatMap()
forDictionary
filterNil()
forCollection
andDictionary
-
Using CocoaPods:
pod 'Immutable'
-
Using Carthage:
github "devxoul/Immutable"
-
Using Swift Package Manager:
let package = Package( name: "MyAwesomeProject", targets: [], dependencies: [ .Package(url: "https://github.com/devxoul/Immutable.git", majorVersion: 0) ] )
- Swift 3
Any discussions and pull requests are welcomed 💖
Use $ swift generate-xcodeproj
to generate Xcode project for development.
Immutable is under MIT license. See the LICENSE for more info.