Case study · Retail · App Store
Nike ME
A modular SwiftUI catalogue and checkout for a 1K+ product store — and a crash rate that fell from 2.1% to 0.3%.
- Swift
- SwiftUI
- MVVM
- Apple Pay
- Firebase
- Time Profiler
The problem
Nike ME is a regional sportswear store with a catalogue of more than a thousand products, a bilingual Arabic/English interface and a full checkout. It is part of a retail portfolio serving 10K+ active users.
The app was crashing at a 2.1% rate, and scrolling through large product lists was not consistently smooth. Both symptoms pointed at the same place: too much work competing for the main thread — decoding, image handling and view updates landing in the same frame budget as scrolling.
What I built
- A modular MVVM app with SwiftUI-based product catalogue and checkout flows.
- Apple Pay as a first-class payment path.
- Arabic and English support across the shopping journey.
- Main-thread profiling and optimisation of the product list, using Time Profiler to find the heavy frames rather than guessing.
- Firebase integration alongside the existing commerce stack.
Technical decisions
Modular MVVM, not one large view model
The catalogue, product detail and checkout were separated into modules with clear boundaries. On a six-person team that mattered more than architectural purity: checkout work could proceed while catalogue performance was being profiled, without the two efforts colliding in one large view model.
Measure the frame budget, then move work off it
The crash rate and the scrolling problem were treated as one performance issue. Time Profiler showed where main-thread time was going; the fix was to keep expensive work — decoding, image preparation, derived state — out of the scroll path and update the UI with only what a frame needed. The result was a steady 60 FPS while scrolling 1K+ products.
Bilingual from the start
Arabic support was built into the layout and content model rather than bolted on at the end. That avoids the usual retrofit problem where every screen needs a second pass for right-to-left layout, truncation and mirrored navigation.
Results
- Crash rate reduced from 2.1% to 0.3%.
- 60 FPS scrolling across a 1K+ product catalogue.
- Apple Pay and full Arabic/English support shipped.
- Part of a three-app portfolio serving 10K+ active users.
What I'd take from this: crash rates and jank are often the same bug wearing two hats. Profiling before rewriting is what made the fix small enough to trust.