Tempura
PromiseKit
Our great sponsors
Tempura | PromiseKit | |
---|---|---|
- | 4 | |
713 | 14,181 | |
0.1% | - | |
0.0 | 4.4 | |
about 1 year ago | 20 days ago | |
Swift | Swift | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Tempura
We haven't tracked posts mentioning Tempura yet.
Tracking mentions began in Dec 2020.
PromiseKit
-
What do you use for new projects? RxSwift or Combine
Do you use PromiseKit?
-
Timing problems (async, getting data from Firestore DB)
I use PromiseKit to handle async codes. It's really easy to use for basic uses like this
-
DispatchGroup in Swift
The most typical way to solve this problem is by using Combine's Future or PromiseKit's Promise, or by using RxSwift's flatMap. If you're interested on how this works under the hood, I plan to write another article for this case, but for now you can check my code for a simple Promise in this gist, or check this quite old but incredibly mind blowing talk from Javi Soto.
-
How do you escape completion hell?
Besides that, you can use a promise library, like PromiseKit.
What are some alternatives?
swift-composable-architecture - A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.
RxSwift - Reactive Programming in Swift
Clean Architecture for SwiftUI + Combine - SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
OpenCombine - Open source implementation of Apple's Combine framework for processing values over time.
VIPER Module Generator - A Swift 4.2 VIPER Module Boilerplate Generator with predefined functions and a BaseViewProtocol.
BrightFutures - Write great asynchronous code in Swift using futures and promises
YARCH - YARCH iOS Architecture
Bolts - Bolts is a collection of low-level libraries designed to make developing mobile apps easier.
iOS-Viper-Architecture - This repository contains a detailed sample app that implements VIPER architecture in iOS using libraries and frameworks like Alamofire, AlamofireImage, PKHUD, CoreData etc.
FutureKit - A Swift based Future/Promises Library for IOS and OS X.
ios-architecture - A collection of iOS architectures - MVC, MVVM, MVVM+RxSwift, VIPER, RIBs and many others
Hydra - ⚡️ Lightweight full-featured Promises, Async & Await Library in Swift