#swiftui

Found 31 articles tagged with #swiftui

Building Menu Bar Apps with SwiftUI

A practical guide to building macOS menu bar apps with SwiftUI — from the basics of MenuBarExtra to window management, settings, and common patterns.

A Practical Guide to SwiftUI Previews

Practical techniques for making SwiftUI previews useful in production projects: previewing state, mock data, multiple devices, dark mode, localization, and performance.

WWDC 2026: Dates, Format, and What Developers Should Watch

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.

May 14, 2026#apple#ios#swiftui

SwiftUI Pain Points Are Still Active

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.

May 11, 2026#swiftui#ios#swift

When the Order of View Modifiers Matters in SwiftUI

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.

Sep 23, 2025#swiftui

SwiftUI @Observable vs ObservableObject

Difference between two observer design patterns in SwiftUI: @Observable macro in Observation framework or ObservableObject protocol in Combine framework.

Best Practices for Swift 6 Migration

Marking variables as immutable, isolating code to the main actor, or using specific annotations to manage concurrency safety.

How to create rounded images in SwiftUI

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.

Aug 26, 2024#swiftui

SwiftUI .task() vs .onAppear()

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.

Aug 23, 2024#swiftui

How to create gradient colors in SwiftUI

SwiftUI provides excellent support for creating and customizing gradient colors in your user interfaces. This allows for creating visually appealing and dynamic effects.

Jul 10, 2024#swiftui