LOG//INDEX
Blog
Notes from building real apps: Swift and SwiftUI architecture, getting money maths right, real-time video on the web, and the decisions behind the code.
· 4 min read
Why I Store Money as Integers in Swift, Not Double
Double can't hold 0.1 exactly, so money totals drift. How MoneyLog stores rupees as whole paise in an Int64, converts from Decimal safely and blocks mixed currencies.
· 4 min read
SwiftUI + SwiftData Architecture: Repositories, MVVM and Tests
A practical SwiftUI and SwiftData architecture from a real app: repositories that own the database, @Observable view models, computed balances and fast tests.
· 4 min read
Building a Random Video Chat App with WebRTC and Socket.IO
How I built Incogni.tv, an Omegle-style video chat: a Socket.IO matching server, WebRTC offers and answers, queued ICE candidates, STUN vs TURN, and deployment.