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.
Displaying borders around views in SwiftUI is easy, and this post shows how to draw borders that are simple, rounded, or have another shape.
Find out in this quick post how to present a popover in SwiftUI, what’s important to remember, and what you should be expecting from it.
Find out in this post what the Defer statement is in Swift and how to use it in order to perform clean up actions in code blocks effectively.
Read about the redacted view modifier in SwiftUI and how to show placeholders while fetching data or displaying sensitive information.
Read in this post how to define custom keys in the SwiftUI environment and have values globally accessible throughout the view hierarchy.
Read how to observe value changes and trigger additional actions when these happen with the onChange(_:) view modifier in SwiftUI.