Creating multi-step animations with PhaseAnimator in SwiftUI
SwiftUI supports this kind of multi-step effect with phase animations. Using the phaseAnimator() modifier, we define a sequence of phases, where each phase describes the appearance of the view at one point in the animation. SwiftUI moves through the phases in order, animating the changes between them.
SwiftUI concentricCornerRadii in iOS 27
SwiftUI has steadily made it easier to create interfaces that feel native without requiring developers to manually reproduce the framework’s layout and shape behavior.
Adding swipe actions to any SwiftUI scroll view
Until iOS 27, SwiftUI's swipeActions modifier worked with rows inside a List. Starting with iOS 27, we can also add swipe actions to views inside a ScrollView.
ContentBuilder Explained: The Secret Behind SwiftUI's Type-Checking Speedup
ContentBuilder isn’t even a new result builder — it’s just a type alias for ViewBuilder. That left me thoroughly puzzled. Is this what “transparent” means? And where on earth do the performance gains come from?
Responding to geometry changes in SwiftUI
As iOS apps become fully resizable, their interfaces can receive many more combinations of width and height than a fixed set of device sizes and orientations. iPad apps can be freely resized in the windowing environment, and iPhone-only apps built with the iOS 27 SDK can also be resized while running on iPad or in iPhone Mirroring on Mac. Layout decisions therefore need to reflect the space currently available to the interface rather than assumptions about the device displaying it.
