The engineering notebook
RSS feed#ios
Articles, practical guides, and engineering notes on ios.
By Ashish Bhakhand 108 published articles
Explore the articles
16 articles
Reset filtersBuilding an iOS Sync Engine with Cursors and Tombstones
Pull incremental changes, preserve deletions, and advance sync progress only after local commits succeed.
SwiftData in an Offline-First Application
Use local persistence as a responsive product capability with explicit freshness, sync, and conflict rules.
Why Automatic Retries Are Dangerous for Swift API Clients
Retry transient reads with bounded jitter while protecting writes from duplicate business effects.
A Production Swift Networking Layer with URLSession
Centralize authentication, envelopes, correlation IDs, decoding, safe diagnostics, and transport error mapping.
Typed Errors in Swift: User Messages and Telemetry Codes
Model failures by recovery behavior while separating safe UI copy from stable operational identifiers.
The Composable Architecture in a Real Application
Use state, actions, reducers, effects, and dependencies to make complex SwiftUI behavior explicit and testable.
How I Structure a Large SwiftUI Application by Feature
Keep state, views, domain rules, and data implementations close to the product capability they serve.