Code of TaPL Chapter 4 written in Swift.
Sending push notification to iOS device is easy and simple using to APNs Provider API. We can create golang notification client which is only needed dozens of lines and it can send notification as a test.
We need to create multi section tableview quite often. Using
Enum make it easier.
implementation of Digest Authentication with APIKit.
Easy way to get state of webiew loading using RxSwift.
Dagger is the tool that enable to dependency injection in Java. It works to create testable and modulable application. introducing it in Kotlin is not difficult.
We can change the API Host depending on develop and release environment using bundle.
Codable protocol which makes too simplify to encode and decode to JSON.
Functional data structure is slightly different from object oriented one. It have persistence and not mutated. I implement this data structure in Swift which have characteristic both object oriented and functional programming. The first example is list.