Contents

devxoul/Immutable

Missing non-mutating functions in Swift

Features

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

Installation

  • Using CocoaPods:

``ruby pod 'Immutable' ``

  • Using Carthage:

`` github "devxoul/Immutable" ``

  • Using Swift Package Manager:

``swift 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.

Package Metadata

Repository: devxoul/Immutable

Stars: 18

Forks: 4

Open issues: 1

Default branch: master

Primary language: swift

License: MIT

Topics: functions, immutable, swift

README: README.md