Skip to main content
Trung Nguyen
HCMC · GMT+7

Personal Project · Solo Product & AI Front-end

From solo idea to a 108-file native iOS app built with AI.

Zonie is a location-based collaborative note-board app anchored to real-world places: coffee shops, alleys, and neighborhood corners. Working completely solo, I owned the entire journey from product concept, 15-page specification, visual design system, and interactive HTML prototype to breaking down tasks and building the entire native iOS SwiftUI front-end with AI across 163 iterative rounds.

Role
Solo Founder, UX/UI & AI FE Builder
Type
Personal Project (0 to Phase 0 FE)
Team
Solo (Trung Nguyen + AI Workflow)
Tools
Figma, HTML/JS, SwiftUI, Xcode, Claude
Three-screen showcase of Zonie: Map discovery with 6km radius and floating pill cards, 4000x4000 dot-grid Zone Canvas, and Focus Mode note editor
Zonie's three spatial layers: Map discovery (left), collaborative Zone Canvas (center), and freeform Focus Mode editor (right).Click to zoom
108 Swift filesSolo AI front-end

Full native SwiftUI architecture with zero default iOS chrome and clean repo boundaries.

163 roundsDocumented iterations

Structured task breakdowns, design token audits, and performance profiling.

255 unit tests18 XCTest suites

Offline-first Phase 0 closed and verified ready for backend connection.

01 · Context

Leaving visual traces on real-world places.

Instead of a private notes tool or an endless global social feed, Zonie organizes creative expression around physical locations. Tap any spot on the map within your discovery radius to open a Zone: a shared dot-grid corkboard where each member owns a freeform square board.

Inside Focus Mode, users layer photos, live camera shots, animated stickers, 30-second music clips, 36 custom shapes, styled typography, and glow marker drawings, while visitors leave lightweight emoji and comment reactions.

Ownership

100% Solo (Idea to Code)

Architecture

Offline-First / UI-First

Build Scale

108 SwiftUI files · 255 tests

Status

Phase 0 FE Complete

02 · Problem

Designing a spatial, gesture-heavy app without an engineering team.

Building an expressive spatial canvas solo posed both product-design challenges and AI-assisted engineering pitfalls.

Spatial disorientation on huge canvases

A 4000×4000 freeform board canvas plus a city map makes it easy for users to lose their own board, miss fresh activity, or collide awkwardly with neighbors.

Generic native chrome breaks playful identity

Default SwiftUI sheets, toggles, and SF Symbols felt sterile next to a tactile scrapbook aesthetic, yet custom UI demands strict token discipline.

AI code drifts fast without architecture rules

Prompting AI ad-hoc across dozens of features quickly causes hardcoded pixel drift, SwiftUI re-render lag, and dead code unless tasks and design tokens are strictly governed.

03 · My role

One person wearing Product, UX/UI, Design System, and FE Lead hats.

Product & Task Architecture

Authored the 15-page specification, location privacy threat model, backend transition plan, and 21 scoped feature plans guiding every AI build sprint.

Visual & Token Craft

Created Zonie's complete zero-native design system (ZColor Light/Dark WCAG AA, Anton + Inter typography, formula-based ZChrome, and Material Symbols SVG kit).

AI-Driven FE Execution

Built a 3,506-line standalone HTML prototype first to prove gesture physics, then directed AI through 163 documented rounds of native SwiftUI implementation and 255 tests.

04 · Approach

Spec first, prove physics in HTML, scale cleanly into SwiftUI.

The breakthrough in solo AI development was treating an interactive HTML prototype and strict markdown rules as the executable contract before touching Xcode.

01

Idea & PRD

Defined Zones, Boards, Focus Mode, privacy radius, and data model.

02

HTML Prototype

Built a single-file vanilla JS + Leaflet prototype to test drag and zoom feel.

03

Token Lock

Formalized ZColor, ZFont, ZSpace, ZRadius, and ZAnim so AI never invents literals.

04

Feature Plans

Broke complex features (Camera, Music, Chat, Private, Brushes) into 21 specs.

05

163 AI Rounds

Iterated SwiftUI features with strict changelog tracking and dead-code sweeps.

06

Audit & Tests

Profiled iPhone 14 Plus thermals, added ZMotionPolicy, and locked 255 tests.

Four-stage solo AI product and front-end build workflow from concept and HTML prototype to 108 SwiftUI files and 255 tests
My solo AI front-end workflow: turning specs and a live HTML prototype into a clean, repository-abstracted SwiftUI app.Click to zoom

05 · Zero-Native Design System & Token Governance

Color carries meaning, formulas prevent drift.

Zonie's visual language rests on a deliberate dual-accent split: Amber (#FFB400) always means 'this is you' (your map dot, your board, your unread reactions), while Magenta (#FF24BD) always means 'this is a place or fresh activity' (zone clusters, route arcs, Newest Notes). Every surface, elevation, and chrome offset lives in strict SwiftUI tokens audited for WCAG AA contrast.

Token GroupVerified ValuesEngineering & UX Purpose
ZColor (Light / Dark)paper #F6F6F6 / #161616 · inkSoft #6E6E6E (≥4.5:1 AA) · primary #FFB400 · tertiary #FF24BDInstant ownership vs location clarity across both themes with audited legibility.
ZFont & Canvas TypeAnton (displayXL 64 to S 16) · Inter UI (16/12/10) · 6 bundled canvas stylesExpressive headlines paired with Dynamic Type UI and offline-safe creative text.
ZChrome FormulabottomBar = primary(52) + sm(8)*2 + sm(8) = 76pt · aboveBottomBar = 92ptEliminated three drifting hardcoded offsets across Map, Toast, and Focus pan clamps.
ZAnim & ZMotionPolicypress spring(0.25, 0.7) · cameraFlight 0.45s · InertiaScroller 0.998/msSilky tactile gestures that auto-throttle decorative loops on Reduce Motion or thermal load.
Zonie zero-native SwiftUI design system board displaying dual-accent ZColor Light and Dark swatches, ZFont scale, ZChrome additive math, and custom components
Zonie Design System (Zonie/DesignSystem/): zero native SwiftUI chrome, WCAG AA Light/Dark tokens, formulaic layout chrome, and custom components.Click to zoom

06 · Key solutions

High-craft spatial interactions built and verified end-to-end.

1. Three signature spatial mechanics that keep freeform fun.

Freeform canvases often feel chaotic on small phone screens. I engineered three interlocking UI mechanics across both the HTML prototype and native SwiftUI build: live collision-avoidance dragging (your board slides smoothly around neighbors instead of overlapping), 50pt off-screen radar anchor pins that guide you back to your board or Newest Notes with a 0.45s camera flight, and zoom-invariant action handles that keep Remove, Bring to Front, and combined Resize/Rotate comfortably tappable at every scale.

Diagram of Zonie's three spatial UI patterns: live collision-avoidance board drag, off-screen radar anchor pins, and zoom-invariant Focus Mode handles
Three custom interaction patterns refined across 163 rounds: collision-free drag, off-screen radar pins, and zoom-invariant handles.Click to zoom

2. Rich creative toolkit with real hardware and live media.

Beyond basic stickers and text, Focus Mode evolved into a playful pocket studio: a custom AVFoundation Camera screen supporting photo, 10 to 60s video clips, and multi-photo grid layouts; live Klipy animated GIF stickers with synchronous snapshot baking; 30-second Openverse music clips; 36 custom shapes; and Pen, Marker, and Glow drawing brushes.

Socially, Zone Chat, Friend Code privacy controls, two-sided Reactions (with one-tap highlight jumps), and tiered zone lifecycles round out the full consumer experience.

3. UI-first architecture engineered for painless backend transition.

To avoid throwing away 108 files when moving online, Phase 0 introduced clean repository protocols, Data Transfer Objects (DTOs), and Keychain auth abstractions underneath the single AppStore.

When profiling revealed lag on iPhone 14 Plus during 100-board stress tests, diagnostic body counters pinpointed thumbnail bake re-renders; shifting gesture state into local coastOffset variables eliminated stutter and closed Phase 0 with 255 green tests.

07 · Trade-offs

Pragmatic solo decisions that kept momentum high.

HTML Prototype First vs Straight to SwiftUI

Building a single-file HTML/JS prototype first looked like extra work, yet testing map discovery, radar pills, and drag collision in a browser saved weeks of trial-and-error in Xcode.

Offline-First FE vs Full-Stack Day One

Deferring live servers, auth, and moderation until Phase 1 let me perfect every gesture, animation curve, and dark-mode token while isolating mock data behind clean repository protocols.

Custom Components vs Native SwiftUI

Replacing native sheets, toggles, and SF Symbols required strict design-token governance, giving Zonie unmistakable visual personality without sacrificing 44pt tap targets or Dynamic Type.

08 · Outcome

Complete Phase 0 native iOS front-end and live playable prototype.

  • Designed and built 108 native SwiftUI source files across 163 documented rounds covering Map, Zone Canvas, Focus Mode, Camera, Zone Chat, Friends/Private mode, and Settings.
  • Closed Phase 0 on 2026-10-03 with 255 passing unit tests across 18 test suites, audited WCAG AA Light/Dark tokens, thermal motion throttling, and zero unmapped wire fields.
  • Produced complete backend transition, security/privacy threat model, and Android port documentation ready for Phase 1 engineering.

Try the original standalone interactive HTML prototype below: tap the map to create a zone, double-tap a board to enter Focus Mode, draw, or add stickers.

Live Interactive HTML Prototype

Play with the live Zonie HTML prototype.

This is the real interactive prototype created before the native SwiftUI build. Jump straight into Zone Canvas to double-tap boards into Focus Mode, or explore the Map and Welcome onboarding.

09 · Reflection

What I learned.

Designers who structure tasks well can ship real front-end with AI.

AI multiplies execution speed dramatically, but only when paired with unambiguous visual specs, locked design tokens, and disciplined verification after every round.

Live prototypes beat static handoff slides.

Feeling drag inertia, zoom clamping, and off-screen wayfinding firsthand exposed dozens of micro-UX flaws I would never have noticed on a static artboard.

Performance is part of UI craft.

Smooth 60fps canvas panning, thermal-aware motion throttling, and deterministic layout math matter just as much as color and typography.

Read next Music App · UI & Design System

Djaminn: Giving musicians a reason to come back and jam.