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
Train ML Models With SQL You Already Know Icon
Train ML Models With SQL You Already Know

BigQuery automates data prep, analysis, and predictions with built-in AI assistance.

Build and deploy ML models using familiar SQL. Automate data prep with built-in Gemini. Query 1 TB and store 10 GB free monthly.
Try 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