№ 02 / SUMMARIES

#swiftui

Every summary, chronological. Filter by category, tag, or source from the rail.

Tag · #swiftui
DAY 01March 16, 2026 MAR 16 · 20261 SUMMARIES
__oneoff__Software Engineering

SwiftUI State: Ownership Rules End View Redraw Bugs

Treat SwiftUI views as functions of state (UI = f(state)). Choose wrappers by ownership: @State for local simple values, @Binding to share edits, @StateObject for view-owned models, @ObservedObject for injected ones. Compute derived state, persist with @AppStorage.

__oneoff__
DAY 02February 2, 2026 FEB 2 · 20261 SUMMARIES
__oneoff__Software Engineering

SwiftUI NavigationStack: Typed Routes for Scalable Apps

Replace fragile NavigationLink hacks with NavigationStack, typed Hashable routes, and a central router: enables programmatic pushes/pops, deep links, and isolated tabs without state bugs.

__oneoff__
DAY 03December 19, 2025 DEC 19 · 20251 SUMMARIES
__oneoff__Design & Frontend

Scale Liquid Glass UI with Tokens and One SwiftUI Modifier

Centralize Liquid Glass in iOS 26 apps using design tokens (e.g., card radius 28, stroke width 1), a single .glassSurface modifier with iOS 26 glassEffect fallback to ultraThinMaterial, and components like GlassCard for consistent, accessible glassy UIs that morph cohesively.

__oneoff__

Showing 5 of 5