tigerpixel/currier
Currier transforms any Swift function into a curried version of that function. This is achieved by wrapping it in a simple 'curry' call.
Requirements
There are no external requirements for this project, just Swift.
- iOS 8.0+ / macOS 10.9+ / tvOS 9.0+ / watchOS 2.0+
- Xcode 11+
- Swift 5.1+
For older versions of Swift and Xcode, please see prior releases.
Installation
Swift Package Manager
The Swift Package Manager is the official tool for managing the distribution of Swift code. It is currently only available for all Apple platforms. It can also be used with Linux but this project does not fully support that at this point.
If you use it to manage your dependencies, simply add Currier to the dependencies value of your Package.swift file.
dependencies: [
.package(url: "https://github.com/tigerpixel/Currier.git", from: "1.3.0")
]Cocoapods
Currier is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "Currier"Carthage
If you use Carthage to manage your dependencies, simply add the following line to your Cartfile:
github "tigerpixel/Currier"If you use Carthage to build your dependencies, make sure you have added Currier.framework to the "Linked Frameworks and Libraries" section of your target, and have included them in your Carthage framework copying build phase.
Git Submodule
- Add the Currier repository as a submodule of your application’s repository.
- Run
git submodule update --init --recursivefrom within the Currier folder. - Drag and drop
Currier.xcodeprojinto your application’s Xcode project or workspace. - On the “General” tab of your application target’s settings, add
Currier.framework. to the “Embedded Binaries” section. - If your application target does not contain Swift code at all, you should also set the
EMBEDDED_CONTENT_CONTAINS_SWIFTbuild setting to “Yes”.
MIT License
Currier is available under the MIT license. Details can be found within the LICENSE file.
Package Metadata
Repository: tigerpixel/currier
Default branch: master
README: README.md