Pierre Felgines will show you how we can leverage the new Swift 5.1 feature of Function Builders to create a simplified and highly readable API for UIAlertController.
To perform automation tasks on Swift projects, such as linting and code formatting, we often need to use command line tools or run scripts. Let’s install them and manage it all with Swift Package Manager instead!
The alignment guide is a way that we can use to speak to SwiftUI’s layout system. By using alignment guides, we can easily align views that live in different parts of a view hierarchy.
Let’s take a look at how even the smallest utility functions can have quite a big impact on the way we write code on a day-to-day basis, by making common tasks easier and preferred patterns simpler.