👍 This version supports Swift 1.2 (but is incompatible with Swift 1.1).
Resultis no longer restricted to
NSError. You can create a
Resultparameterized to any error type you like. This makes
Eitherwith more obvious naming conventions (and the success case comes first in the type list).
🚀 This release is likely close to feature-complete on
Result, and may eventually be considered the "production" version once others have played with it for a while.
🚀 Errors in this release need not be of type
NSError. They can be of any type you like (as long as the type is marked as conforming to
This is mostly backward compatible with the
🚚 You should expect
ErrorTypeto go away in 0.3.0. We will likely either go back to requiring
NSErroror move to a fully-parameterized error type (
Result<T,E>). This solution has turned out to possibly be the worst of both worlds.
🚀 This release also adds a PodSpec. Be very careful building important things on this. That leading 0 in the version is not kidding around. But I do expect things to settle down soon.
🚀 This release bumps us to iOS 8.0 so that libraries work correctly.
First-pass version of Result. There may still be some changes in this (considering moving to an
Errorprotocol rather than just
NSError). The directory structure is still subject to change.