Asynchronous Programming with PromiseKit

CallBack Hell

Asynchronous Programming


Figure 1

Problem With CallBacks

Figure 2


Figure 3

What is Promise

Benefits of Promise

Key Difference Between Callbacks and Promises

Main rules for a compliant Promise/A+ implementation are:

Open Source Libraries

PromiseKit 6.8

Getting Started

Figure 4
Figure 5
Figure 6
Figure 7


Figure 8

Should I use [weak self] in PromiseKit blocks?

Parallel/Concurrent Async Task Execution

Dispatch Group

Figure 9


Figure 10
Figure 11

Map, CompactMap in PromiseKit

Figure 12
Figure 13


Figure 14
Figure 15

TroubleShoot Guide :

Useful Links

Senior iOS Engineer | HungerStation | Delivery Hero