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

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
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