Skip to content
Harkirat Singh
← All work

iOS

Vehicle Value Tracker

A feature in the Ford Credit iOS app that tracks what a customer's vehicle is worth, with a GraphQL repository layer, per-VIN caching and feature-flagged dealer features.

Where
Ford Credit
Role
iOS engineer
When
2024 – Present
Stack
Swift · iOS SDK · GraphQL · Feature flags
View the Ford Credit app on the App Store

Feature screens

Value, appraisal, save, dealer

Repository

One interface for every GraphQL operation the feature uses

On-device cache

Keyed by VIN · expires after 7 days

GraphQL API

Value · appraisal · save · dealer leads

Feature flags gate the dealer features at the screen level.
Screens ask the repository for data. The repository serves a cached estimate for that VIN if it is under 7 days old, and otherwise calls the GraphQL API.

The feature

The Vehicle Value Tracker lives in the Ford Credit iOS app, which is rated 4.5 on the App Store from about 1,300 ratings. It lets a customer see an estimate of their vehicle’s value, get an appraisal, save a vehicle, and connect with a dealer.

What I built

  • A repository layer over GraphQL. Every network operation the feature needs (value, appraisal, save, and dealer leads) goes through one repository. Screens ask the repository for data and never talk to the API directly.
  • Per-VIN on-device caching with a 7-day expiry. Estimates are cached on the device, keyed by the vehicle’s VIN. A cached estimate is reused for up to 7 days before the app fetches a fresh one.
  • Feature flags for dealer features. The dealer-facing parts of the feature sit behind flags, so they can be turned on or off without shipping a new app build.
  • Leaner GraphQL responses. I worked with the backend data engineering teams on the GraphQL schemas, which reduced API payload sizes and screen render latency.

Design choices

  • One repository, many operations. Putting value, appraisal, save and dealer-lead calls behind one interface keeps networking, caching and error handling in a single place. It also gives tests a single seam to replace with fakes.
  • Cache by VIN, expire after a week. A vehicle’s estimated value doesn’t change minute to minute. Keying by VIN keeps each vehicle’s estimate separate, and the 7-day expiry keeps it reasonably fresh without fetching on every screen open.
  • Flags at the feature boundary. Gating dealer features with flags separates releasing code from turning features on.

Results

  • Shipped in a production consumer app rated 4.5 on the App Store (about 1,300 ratings, as of Dec 2026).
  • Smaller GraphQL payloads and lower screen render latency after the schema work with data engineering.