All posts

Tagged: SwiftUI

8 articles tagged with "SwiftUI"

iOSSwiftUIArchitecture

SwiftUI forms that stay manageable as the product grows

A maintainable SwiftUI form is not one giant view with thirty bindings and a prayer. Split by section ownership, keep drafts local, validate with intent, and stop letting product growth turn basic data entry into sludge.

9 min read
iOSSwiftUIArchitecture

Modeling app state so SwiftUI updates stay predictable

Predictable SwiftUI starts with boring state boundaries: keep ownership clear, derive local view state instead of sharing giant models, and stop letting one write ripple through half the app.

10 min read
iOSPerformanceNetworking

Image loading on iOS: caching, decoding, and the mistakes that make scrolling worse

A practical image-loading setup for iOS: cache the right thing, decode off the main thread, control request churn, and stop blaming scrolling jank on the collection view.

11 min read
iOSSwiftSwiftUI

Building a SwiftUI design system without overengineering it

A useful SwiftUI design system is not a giant abstraction layer. It is a small set of tokens, components, and rules that make product work faster without hiding the platform or freezing the app in theory.

9 min read
iOSTestingXCTest

Snapshot testing in 2026: when it helps, when it lies, how to keep it sane

Snapshot tests are useful when they protect stable UI or serialization contracts, but they become expensive noise the moment they start standing in for design review, product judgment, or weak lower-level tests.

10 min read
iOSSwiftSwiftUI

SwiftUI lists that don’t lag: identity, diffing, and avoiding layout thrash

Most SwiftUI list “performance problems” are self-inflicted: unstable identity, accidental view churn, and heavy layout work in rows. Here’s how to make lists fast, measurable, and boring.

7 min read
SwiftUIAnimationPerformance

SwiftUI animations that don’t glitch: transactions, explicit vs implicit, and performance-safe patterns

A practical SwiftUI animation guide: how transactions actually work, why animations disappear, and how to ship smooth UI without expensive re-renders.

4 min read
SwiftUIObservationPerformance

SwiftUI Observation performance: stop unwanted re-renders and measure what matters

Practical patterns for @Observable, avoiding accidental invalidations, and proving performance wins with measurement (not vibes).

5 min read