SwiftUI now makes it straightforward to compose rich, animated visual pipelines by combining Metal shaders (colorEffect, distortionEffect, layerEffect) with TimelineView for per-frame time-driven animation and alignment guides for precise floating-view attachment. These building blocks chain together like pipes to produce production-quality effects without needing a separate rendering engine.
⢠layerEffect lets you run domain-warping Metal shaders directly on any SwiftUI view, enabling organic animated backgrounds that were previously only achievable in a custom Metal CALayer
⢠TimelineView with .animation schedule drives shader parameters every frame so you get smooth, stateless GPU animation tied to real clock time ā no Timer hacks required
⢠Alignment guides provide a semantic, size-agnostic way to attach floating overlay views (timestamps, badges) to container edges without manual offset calculations
Liquid Glass is Apple's new material and visual design language introduced in iOS 27, bringing translucent, refractive glass-like surfaces to system and custom UI elements. It replaces the frosted vibrancy aesthetic with a more dynamic, depth-aware material that responds to content beneath it.
iOS 27 brings a sweeping set of SwiftUI enhancements including Liquid Glass design adoption, new toolbar visibility and overflow APIs, document architecture improvements with Observable, and resizable iPhone app support ā all designed to modernize app UIs with minimal code changes.
Xcode 27 introduces a fully customizable toolbar and theme system, untitled scratch projects, coding agent integration directly in the editor, and the new Device Hub for evaluating apps across simulators and physical devices side-by-side.
In-depth guide
SwiftUI & Liquid Glass in iOS 27 āPaperKit is Apple's full-featured canvas framework ā previously internal-only ā now publicly available in iOS/macOS/visionOS 27. It powers the drawing and markup experience in Notes, Preview, and Freeform, giving developers access to a complete pencil, shapes, images, and text canvas with a rich data model.