Skip to content

Releases: LlamaKit/LlamaKit

Swift 1.2 support

18 Feb 21:40
Compare
Choose a tag to compare
Swift 1.2 support Pre-release
Pre-release

This version supports Swift 1.2 (but is incompatible with Swift 1.1).

Parameterized Error

06 Jan 16:36
Compare
Choose a tag to compare
Parameterized Error Pre-release
Pre-release

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

22 Nov 20:20
Compare
Choose a tag to compare
Add ErrorType Pre-release
Pre-release

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

29 Sep 12:57
Compare
Choose a tag to compare
Pre-release

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.