Explore how to use action closures with UIKit controls, the new alternative of the old good target-action pattern available since iOS 14.
Learn about variadic parameters and how to implement functions that contain them and accept an arbitrary number of values.
Overloading functions in Swift is a common technique, and this post shows how to apply it and gain flexibility and convenience.
Explore and understand what stored and computed properties are in Swift, and how to gain better programming habits for better code.
Read about escaping closures in Swift and how to avoid memory related problems in a post that explains everything in simple words.
Learn how to provide default values in Swift dictionaries, and how to get back actual values instead of nil even when keys do not exist.
Read about the failable initializer in Swift, and how to use it in custom types in order to return nil if proper initialization fails.
What exactly are higher order functions in Swift? This post explains that, and it goes one step further by showing how to create your own.
Getting the type identifier of a local file using the URL is an often needed task. Learn more in this post, and how to get other types that conforms to.
Discover a simple technique that lets you change the status bar style in view controllers embedded in a navigation controller on UIKit.