Photo by Alexander Shatov on Unsplash

Project

Description


Apple has finally accepted the proposal for the async paradigm in Swift. While it is currently only in the development trunk of the language, it will soon be available in the final release. Let’s have a look at what we can expect.

The old way: Closures

// Controller
viewmodel.requestData { data in (...) }
// ViewModel
func requestData(completion: @escaping () -> Void) { service.requestData { response in
response.getData …


The Tools

Jest

CodeClimate


Handling unmaintainable code. Credits: Giphy(https://gph.is/2CDvWUp)

Marcel Kulina

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store