Releases: rnapier/LlamaKit
Swift 1.2 support
This version supports Swift 1.2 (but is incompatible with Swift 1.1).
Parameterized Error
Result
is no longer restricted to NSError
. You can create a Result
parameterized to any error type you like. This makes Result
equivalent to Either
with 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.
Add ErrorType
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 ErrorType
).
This is mostly backward compatible with the NSError
-only 0.1.0.
You should expect ErrorType
to go away in 0.3.0. We will likely either go back to requiring NSError
or 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.
Initial version of Result
First-pass version of Result. There may still be some changes in this (considering moving to an Error
protocol rather than just NSError
). The directory structure is still subject to change.