Inspiration
Most budget apps feel like homework: they show you what you already spent and then make you feel bad about it. People stop opening them within weeks. Games are the opposite: we happily replay a save file for hours just to see what happens next.
So we asked: what if your budget was a life sim, and the save file was your real money? Payday is built for people paid twice a month who want to know when they can afford the trip, the laptop or the rainy-day fund, without sending their whole financial life to a server.
What it does
- Payday. When income lands, it appears in your pixel room as Unassigned. You give every part of it a job: Bills, Living and Jars. You can never assign more than you have.
- Log in plain words. Type or hold to speak: "lunch 180, grab 95, got paid 30k". Each entry comes back as an editable card. Fix it ("no, that was 250") or undo. Nothing saves until you confirm.
- Play it forward. A time-lapse runs 3, 6 or 12 months. Days and nights pass, jars fill, and goal objects appear in the room on the date your real numbers reach them.
- What if. Try a 25k phone or saving 500 more. Every goal date moves, before and after.
- Ask your money. "How much on food this month?" returns the total, the count and the entries behind it.
- A day in the life. The room follows the real clock: the character sleeps, has coffee, works, cooks and relaxes.
Payday tracks and simulates your own numbers. It is not financial advice.
How we used Firebase AI Logic (hybrid inference)
Payday is on-device first, and the cloud is a place your data visits only with permission.
- Rules first. A Swift parser reads common entries instantly, offline.
- On-device model next. When rules cannot read a message, Apple Foundation Models runs on the iPhone through Firebase AI Logic's on-device support. Output is a typed intent, never a number we trust blindly.
- Gemini last, with consent. General questions and messages the phone cannot read go to Gemini through Firebase AI Logic. A consent sheet shows the exact text that would leave the phone. Nothing is sent until you tap Send. For a month review, only category totals leave.
- App Check (App Attest in release, debug tokens in development) protects every request.
- Remote Config sets the cloud model name, daily request limits and prompt text, so we can tune without a new build.
The model reads; Swift does the math. Every figure on screen is computed and validated in Swift from stored integer minor units. A sensitive data guard strips card numbers, CVVs, bank numbers, passwords, PINs and one-time codes before anything is saved or sent. Every trip to the cloud, sent, declined or failed, is listed in Me, and every reply carries a phone or cloud badge.
How we built it
- SwiftUI app in Swift 6 strict concurrency, with two Swift packages: PaydayCore (money, parsing, period math, payday and jar logic, insights, the guard) and PaydayKit (SwiftData storage behind repository protocols, AI engines and the router, the chat controller).
- Money is never a Double. Integer minor units in, Decimal for display, any ISO currency.
- A custom pixel design system. Every control is a 3D pixel block, one typeface (Departure Mono), no stock iOS controls on any reachable screen.
- Speech framework on-device for voice; audio never leaves the phone.
- 107 automated tests, including a sample person end to end.
- Built with Claude Code as the coding agent.
Challenges we ran into
- Making a model useful for money without letting it touch the money. We turned every model output into typed intents that Swift validates before any card appears.
- Consent that people actually read: the sheet shows the exact payload, not a policy summary.
- Drawing a full pixel UI kit by hand so the app feels like a game, not a form.
- Slow package resolution on our network delayed linking Firebase late in the build.
Accomplishments that we're proud of
- The over-assign guard: you physically cannot plan money you do not have.
- Play it forward turns abstract dates into a room that changes in front of you.
- Zero analytics, zero accounts, and still a smart, conversational app.
- A public TestFlight beta from a repo that anyone can build.
What we learned
- On-device first is a product decision, not just a cost one. People trust a helper more when they can see what leaves.
- Hybrid inference works best with a clear ladder: rules, then on-device, then cloud only by consent.
- Small, typed tool calls beat long free-form answers for anything with numbers.
What we built during the submission period
All of Payday was built between Nov 21 and Nov 30, 2026: the life layer, chat with on-device reading, the consent flow and Firebase AI Logic engine, the pixel kit, the intro, and the TestFlight pipeline.
What's next for Payday
- Jar moves and what ifs by chat: "put 2,000 in the trip jar", "what if I buy a 25k phone?"
- Year ahead: a Gemini write-up of the 12-month view from totals and dates only.
- Receipt import with card numbers blurred on the phone before anything is sent.
- Art for bigger homes, vehicles and travel scenes.
Built With
- app-attest
- apple-foundation-models
- apple-intelligence
- firebase
- firebase-ai-logic
- firebase-app-check
- firebase-remote-config
- gemini
- hybrid-ai
- ios
- on-device-ai
- speech-framework
- swift
- swiftdata
- swiftui
- testflight