Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. iOS
  3. FutureKit

FutureKit

MITSwift3.5.0

A Swift-based Future/Promises library for iOS and macOS, designed to simplify asynchronous and multi-threaded programming.

Visit WebsiteGitHubGitHub
747 stars64 forks0 contributors

What is FutureKit?

FutureKit is a Swift library that implements Futures and Promises for iOS and macOS development. It simplifies asynchronous and multi-threaded programming by providing a type-safe, composable way to handle async operations, errors, and cancellations. It solves the complexity of managing dispatch queues, callback blocks, and error propagation in traditional async code.

Target Audience

iOS and macOS developers building apps that require handling asynchronous operations, such as network calls, image processing, or database interactions, and who want cleaner, more maintainable async code.

Value Proposition

Developers choose FutureKit because it offers a unified, Swift-native approach to async programming with strong type safety, easy error handling, and built-in support for cancellation. Its Executor system abstracts away GCD complexities, making it easier to guarantee code runs on the correct queues without manual dispatch_async calls.

Overview

A Swift based Future/Promises Library for IOS and OS X.

Use Cases

Best For

  • Simplifying complex chains of asynchronous operations in Swift apps
  • Handling errors across multiple async steps with a single error handler
  • Managing cancellation cleanly in async workflows
  • Ensuring type safety when transforming async results (e.g., NSData to JSON to model objects)
  • Abstracting different async APIs (e.g., NSURLSession, AlamoFire) into a consistent interface
  • Writing async code that is easy to read and maintain without nested callbacks

Not Ideal For

  • Projects already using Apple's Combine framework for reactive async patterns
  • Teams preferring minimal dependencies for basic async tasks with completion handlers
  • Cross-platform Swift applications requiring async support on non-Apple operating systems
  • Apps with simple, linear async operations where Futures/Promises add unnecessary abstraction

Pros & Cons

Pros

Type-Safe Async Logic

Uses Swift Generics to enforce type safety, allowing the compiler to infer return types from asynchronous operations, as demonstrated in the README's image processing example from Future<UIImage> to blurred images.

Unified Error Handling

Integrates seamlessly with Swift's error handling, enabling a single catch-all error handler for entire chains of async operations, simplifying debugging and reliability, as highlighted in the error handling features.

Composable Future Chains

Futures can be easily mapped and composed into new Futures, with errors and cancellations automatically propagated, making complex async workflows manageable without nested callbacks.

GCD Simplification via Executors

Abstracts Grand Central Dispatch with Executors like .Main and .UserInitiated, ensuring code runs on specified queues without manual dispatch_async calls, as outlined in the GCD simplification section.

Cons

Apple-Platform Exclusive

Tailored specifically for iOS and macOS, limiting its utility for Swift projects targeting Linux, Windows, or other platforms where Swift is supported, as noted in the platform compatibility.

No Native Async/Await Support

Does not leverage Swift 5.5's built-in async/await syntax, which might make it feel outdated compared to modern Swift concurrency approaches, and the README doesn't mention plans for integration.

Additional Dependency Overhead

Introduces an external library dependency, which could be a drawback for teams aiming to keep their project's third-party code to a minimum, especially for simple async needs.

Frequently Asked Questions

Quick Stats

Stars747
Forks64
Contributors0
Open Issues10
Last commit7 years ago
CreatedSince 2015

Tags

#ios#async-programming#error-handling#futures-promises#grand-central-dispatch#type-safe#concurrency#swift#macos

Built With

S
Swift

Links & Resources

Website

Included in

iOS51.7kSwift26.0k
Auto-fetched 19 hours ago

Related Projects

RxSwiftRxSwift

Reactive Programming in Swift

Stars24,649
Forks4,165
Last commit27 days ago
ReactiveCocoaReactiveCocoa

Cocoa framework and Obj-C dynamism bindings for ReactiveSwift.

Stars19,846
Forks3,422
Last commit7 months ago
PromiseKitPromiseKit

Promises for Swift & ObjC.

Stars14,246
Forks1,458
Last commit2 months ago
ReSwiftReSwift

Unidirectional Data Flow in Swift - Inspired by Redux

Stars7,591
Forks520
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub