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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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