How the relative size modifier interacts with stack views
Explains how SwiftUI's relative sizing modifier behaves within HStack and VStack layouts, detailing the layout algorithm and order dependencies.
Explains how SwiftUI's relative sizing modifier behaves within HStack and VStack layouts, detailing the layout algorithm and order dependencies.
A tutorial on creating a custom SwiftUI layout modifier to size views relative to their container's dimensions, using percentages.
A technical guide on managing status bar color schemes and visibility in SwiftUI, focusing on dynamic tint changes and hiding/showing the bar during scroll.
Explores the architectural differences between creating custom SwiftUI views and using modifiers, with examples of how to achieve similar UI results.
A developer details debugging a SwiftUI widget crash caused by a CodableTextAttachment error when displaying images in text for just-released games.
A tutorial on implementing a stretchy, sticky header for SwiftUI ScrollViews, similar to the one used in the Spotify app.
A technical guide on implementing scroll offset tracking in SwiftUI ScrollViews using preference keys and GeometryReader.
A tutorial on implementing a stretchable header effect in a SwiftUI ScrollView, similar to the one seen in Spotify's iOS app.
A video tutorial on building an iOS ChatGPT app using SwiftUI and the OpenAI API, covering UI and state management concepts.
Learn how to use the open-source SystemNotification library to create iOS-style system notifications in your SwiftUI apps.
A SwiftUI tip explaining how to use ContainerRelativeShape to automatically apply correct corner radii to subviews within widgets.
Explains SwiftUI view lifecycles, the render tree, and how state is managed, with a companion app for observation.
Fixes a SwiftUI bug in Xcode 16 where DocumentGroup apps show duplicate back buttons, using a toolbarRole modifier.
Explores a component-based widget architecture for scalable SwiftUI projects, using self-contained widgets for isolated development.
Explains how SwiftUI's clipped() modifier affects visual rendering but not hit testing, and how to fix it using contentShape().
A technical guide on implementing complex gestures like presses, drags, and taps in SwiftUI using a custom GestureButton.
Explains how to implement complex gestures in SwiftUI ScrollViews without blocking scrolling, with updates for iOS 18 compatibility.
Explores unexpected behaviors and edge cases of SwiftUI's .animation modifier, detailing when animations apply to more or less of the view tree than intended.
A developer shares insights from building a production app with SwiftUI, comparing its strengths and weaknesses against UIKit for iOS development.
Explains how SwiftUI's .task modifier inherits its actor isolation context, focusing on @MainActor and @_inheritActorContext.