Hi, I’m Sagar.
I’m an iOS engineer, runner, and dad. I’ve been making apps since 2015 and writing on this blog since 2019, mostly about Swift and SwiftUI.
Outside of work I enjoy running, strength training, reading, watching cricket, and spending time with my family and friends.
Browse all the articles I’ve written or learn more about me.
Recent writing
All posts →- #file vs #filePath in Swift Tests - Cleaner, Cacheable Builds
- XCTUnwrap in Swift - Stop Force Unwrapping in Unit Tests
- Xcode Code Snippets - Automate Boilerplate with Placeholders
- Dynamic Type for Custom Fonts in SwiftUI - A 4-Line Fix
- Swift Logging - Use OSLog Instead of print()
- SwiftUI .task vs .onAppear - Async Work Done Right
- Replacing Closures with Key Paths - Cleaner Swift Code
- Swift's New if let Syntax - Cleaner Optional Unwrapping