Version 0.12.0-beta
Pre-release
Pre-release
API Changes
-
Additional Execution Contexts
Now, the following kind of execution contects can be specified with the
thenOn
property:- dispatch_queue
- NSOperationQueue
- NSThread
- NSManagedObjectContext
For example:
NSOperationQueue* operationQueue = [[NSOperationQueue alloc] init]; promise.thenOn(operationQueue, ^id(id result){ // executing on the NSOperationQueue ... return nil; }, nil);
-
Added a property
thenOnMain
for convenience which is functional equivalent to
thenOn(dispatch_get_main_queue(), .., ...)
Bug Fixes
- Minimum iOS deployment target (since 0.11.0) MUST be iOS 6.0
- Fixed a Unit Test
Documentation
- The documentation in the README.md file has been revised.
Miscellaneous
- Minor changes in project structure and naming of projects and targets.