Swift Package Index


Missing non-mutating functions in Swift


  • The latest stable release is 0.6.0. Released almost 2 years ago.
  • The last commit to master was almost 2 years ago.

Swift Version Compatibility

  • 0.6.0 and master
    5.3
    5.2
    5.1
    5.0
    4.2
Full build results

Platform Compatibility

  • 0.6.0 and master
    iOS
    macOS(Intel)
    macOS(ARM)
    Linux
    tvOS
    watchOS
Full build results

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.