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
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download 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