Awesome Open Source
Awesome Open Source

Immutable

Swift Build Status CocoaPods

Missing immutable functions in Swift. You must be looking for somebody to make this library 😛

Features

  • Non-mutating appending(), inserting(), removing() functions in Collection
  • map() and flatMap() for Dictionary
  • filterNil() for Collection and Dictionary

Installation

  • 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)
      ]
    )
    

Requirements

  • Swift 3

Contribution

Any discussions and pull requests are welcomed 💖

Use $ swift generate-xcodeproj to generate Xcode project for development.

License

Immutable is under MIT license. See the LICENSE for more info.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
swift (7,814
immutable (79
functions (57