Swiftpack.co - devxoul/Immutable as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by devxoul.
devxoul/Immutable 0.6.0
Missing non-mutating functions in Swift
⭐️ 18
🕓 1 year ago
iOS macOS tvOS
.package(url: "https://github.com/devxoul/Immutable.git", from: "0.6.0")

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.

GitHub

link
Stars: 18
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

0.6.0
5 years ago
  • Add Swift 5 support 🚀 (#3)

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics