Swift implementations for function currying.
For more info on function currying in Swift, please refer to this blog post
Note that we're aggressive about pushing
master forward along with new
versions of Swift. Therefore, we highly recommend against pointing at
and instead using one of the releases we've provided.
Here is the current Swift compatibility breakdown:
| Swift Version | Curry Version | | ------------- | ------------- | | 4.X | 4.X | | 3.X | 3.X | | 2.2, 2.3 | 2.X |
Follow the current instructions in Carthage's README for up to date installation instructions.
Add the following to your Podfile:
You will also need to make sure you're opting into using frameworks:
pod install with CocoaPods 0.36 or newer.
Curry is Copyright (c) 2015 thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the LICENSE file.
Curry is maintained and funded by thoughtbot, inc. The names and logos for thoughtbot are trademarks of thoughtbot, inc.
We love open source software! See our other projects or look at our product case studies and hire us to help build your iOS app. We also have a collection of resources for learning iOS development at Upcase.
Help us keep the lights on
v4.0.1 - Apr 15, 2018
This is a tiny release that only serves to silence warnings in the Xcode project when opening it with Xcode 9.3. If you're not using the Xcode project as a sub-project this release will mean nothing to you. If you are using the Xcode project as a sub-project this release will mean everything to you.
v4.0.0 - Dec 13, 2017
Curry 4.0 improves compatibility with Swift 4.0, specifically including a fix for the "Ambiguous use of 'curry'" errors that were thrown at compile time. (Thanks @tkohout!)
v3.0.0 - Oct 12, 2016
Official Swift 3.0 release!
Thanks @eliperkins, @gfontenot, @sharplet, @jshier, and @ikesyo
v2.3.3 - Jul 22, 2016
This release records the migration attempt for Xcode 8 so that it doesn't throw needless warnings in the project.
v2.3.2 - Jul 8, 2016
This version adds explicit support for Swift 2.3 projects in Xcode 8. A future release will add explicit support for Swift 3.0.