A practical guide to building macOS menu bar apps with SwiftUI — from the basics of MenuBarExtra to window management, settings, and common patterns.
Practical techniques for making SwiftUI previews useful in production projects: previewing state, mock data, multiple devices, dark mode, localization, and performance.
Apple WWDC 2026 runs June 8-12 as an online developer conference, with a special in-person kickoff event at Apple Park on June 8.
SwiftUI is mature enough for real apps, but developers are still hitting pain points around navigation, performance, previews, UIKit escape hatches, and OS-version constraints.
Order matters when it changes how your view looks, lays out, or reacts. Doesn’t matter when only set or override a property, and doesn ’t wrap or transform the view hierarchy.
Difference between two observer design patterns in SwiftUI: @Observable macro in Observation framework or ObservableObject protocol in Combine framework.
Marking variables as immutable, isolating code to the main actor, or using specific annotations to manage concurrency safety.
Creating rounded images in your app's UI can be a design choice to enhance the visual appeal and provide a more modern or aesthetically pleasing look.
The exact moment that SwiftUI calls these methods depends on the specific view type that you apply to, but the action closures complete before the first rendered frame appears.
SwiftUI provides excellent support for creating and customizing gradient colors in your user interfaces. This allows for creating visually appealing and dynamic effects.