Case study · 2025

FocusMode.

Productivity app

I designed and built FocusMode end to end: the native SwiftUI app, the Supabase backend (auth, database, edge functions, realtime) and the integrations. A tool that works just as well for a product roadmap, a marketing launch or a thesis — and that, under the hood, hides serious challenges: verified StoreKit subscriptions, Gemini AI and a GitHub sync engine.

FocusMode

The problem

Productivity apps force a trade-off: either they’re minimal and fall short, or they do everything and overwhelm you. And almost none adapt to you — the same rigid app to manage a roadmap, plan a launch or write a thesis.

The thesis

One app that molds to how you work. Where tasks, habits, focus (Pomodoro) and finances live together, native and with iOS 26 polish — and where the color, the projects and the pace are yours. One that serves a product team, a marketer or a grad student alike.

The solution

FocusMode is a native SwiftUI productivity suite for iPhone and iPad. Tasks with hierarchical subtasks, priorities and comments; projects and sections; habits with analytics; a Pomodoro timer with Apple Music; personal finances; a configurable theme; all in real time on Supabase.

Plataforma
iOS 26+
Arquitectura
SwiftUI · @Observable
Backend
Supabase
Apps
iPhone + iPad

Everything inside

  • Tasks with hierarchical subtasks, 4 priority levels and pinning
  • Projects, sections and inbox
  • Today view with a week navigator
  • Habits with frequency, reminders and analytics
  • Pomodoro + free chronometer with check-in
  • Apple Music integration (global and per-habit playlists)
  • Finances: savings, recurring expenses and wishlist
  • Global search
  • Task comments
  • Local reminders and notifications
  • Configurable theme (8 accent colors)
  • Premium subscription via StoreKit

Tasks with hierarchy

Nested subtasks with indent/outdent, 4 priority levels, pin-to-top and per-task comments. AI subtask generation (Gemini) through an edge function.

Focus with Pomodoro

A dual timer (Pomodoro + free chronometer) as a TabView bottom accessory, with history and premium reports per project or habit. It plugs into Apple Music: a global playlist or one per habit, showing what’s actually playing.

Measurable habits

Habits with configurable frequency, icon, color, reminders and their own playlist. Premium analytics: heatmap, completion rate and weekly chart.

Finances

Savings goals, recurring expenses and a wishlist inside the same app — so money is part of your focus too, not another separate tool.

And for people who build software

Under the same simple app sits a serious engine: your repos become projects and your issues, tasks. Repos = projects, issues = tasks, sub-issues = subtasks and comments synced both ways. A backend-first architecture: database triggers enqueue the sync, edge functions process the queue, pg_net notifies instantly and Supabase Realtime pushes GitHub changes to the app with no polling.

Truly real time

4 tables, 7 edge functions and a webhook accepting issues, comments and sub-issues. The sync badge (green/amber/red) reflects each task’s state instantly.

The stack

SwiftUI with the @Observable macro (not ObservableObject), MVVM, models passed through the environment. Supabase backend: Auth (Apple Sign-In), PostgREST, edge functions, Realtime and Storage. StoreKit with backend receipt verification. Gemini for AI. The same backend powers a second cross-platform app in React Native + Expo.

UI
SwiftUI · @Observable
Backend
Supabase · Realtime + Edge
Pagos
StoreKit verificado
IA
Gemini

Result

FocusMode is live on the App Store (iOS 26+) and part of the focusmode.net ecosystem — a single tool that adapts to how each person works.

Estado
En App Store
Plataforma
iOS 26+
Ecosistema
focusmode.net

Shall we build something together?