Asynchronous Programming with PromiseKit

CallBack Hell

Asynchronous Programming

CallBacks

Figure 1

Problem With CallBacks

Figure 2

Promises

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

ensure

Figure 8

Should I use [weak self] in PromiseKit blocks?

Parallel/Concurrent Async Task Execution

Dispatch Group

Figure 9

Promises

Figure 10
Figure 11

Map, CompactMap in PromiseKit

Figure 12
Figure 13

Threading

Figure 14
Figure 15

TroubleShoot Guide :

Useful Links

Senior iOS Engineer | HungerStation | Delivery Hero