Read about how to change the default navigation view style in SwiftUI using a view modifier, and override the default behavior.
Write safer and more comprehensive code in Swift by implementing and using custom strongly typed values, avoiding potential unwanted problems.
Meet the ViewBuilder attribute that enables us to create and return SwiftUI views from methods, and read about an additional useful tip.
Find out in this post how to create enums with raw values of custom types in Swift, and go through a demonstration of all you need to know.
Learn how to create a custom formatter in Swift in order to validate and format displayed and user input values conveniently.
Find out what the available styles of the SwiftUI Picker view on macOS are, and how the same view can result in different controls.
Find out what is the difference between frame and bounds in iOS through the implementation of a small app that explains everything visually.
Read how to embed SwiftUI views in storyboard-based macOS projects and what to watch out for. Boost your productivity & make coding funnier!
Meet the factory method design pattern through simple examples and find out how it helps to keep the various concepts in code separated.
Most macOS apps present a Preferences window to configure settings, and this post demonstrates how to do that in your own apps using SwiftUI.