Changelog History
-
v0.6.0 Changes
February 18, 2015๐ This version supports Swift 1.2 (but is incompatible with Swift 1.1).
-
v0.5.0 Changes
January 06, 2015Result
is no longer restricted toNSError
. You can create aResult
parameterized to any error type you like. This makesResult
equivalent toEither
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. -
v0.2.0 Changes
November 22, 2014๐ 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 toErrorType
).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 requiringNSError
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.
-
v0.1.0 Changes
September 29, 2014First-pass version of Result. There may still be some changes in this (considering moving to an
Error
protocol rather than justNSError
). The directory structure is still subject to change.