Skip to content

Version 0.12.0-beta

Pre-release
Pre-release
Compare
Choose a tag to compare
@couchdeveloper couchdeveloper released this 09 Apr 15:17
· 27 commits to master since this 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.