#swiftui

Found 25 articles tagged with #swiftui

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

How to use @ViewBuilder in SwiftUI

In SwiftUI, @ViewBuilder is a special attribute used to build views. It is a result builder that allows you to construct views in a more declarative and readable manner.

Jul 04, 2024#swiftui

How to dismiss keyboard in SwiftUI

The primary way is to use the @FocusState property wrapper in conjunction with the .focused modifier to control the keyboard’s visibility.

Apr 28, 2024#swiftui