Skip to content

devxoul/Immutable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.