Promises is a modern framework that provides a synchronization construct for Objective-C and Swift to facilitate writing asynchronous code. Typically, async operations take a completion handler in a form of a block, which is called to provide either a result or an error. To perform more than one async operation, you have to nest the second one inside the completion block of the first one, and also handle an error gracefully. Often such nesting becomes painful to follow or modify. The framework has intuitive APIs that are well documented making it painless to integrate into new or existing code. Supports both Objective-C and Swift. Promises that are created in Objective-C can be used in Swift and vice versa. Has minimum overhead that achieves similar performance to GCD and completion handlers.

Features

  • Simple
  • Interoperable
  • Lightweight
  • Flexible
  • Retry asynchronous operations
  • The framework has intuitive APIs that are well documented making it painless to integrate into new or existing code
  • Supports both Objective-C and Swift

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

Apache License V2.0

Follow Promises

Promises Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Promises!

Additional Project Details

Programming Language

Objective C

Related Categories

Objective C Frameworks

Registered

2022-11-18