Загрузка...

Claude Code + Xcode — Prize Wheel Feature from Zero (Full Prompting Strategy)

This is the prompting strategy video. Every prompt is shown on screen.
Every prompt has a reason. And while Claude is generating, I explain
exactly why I wrote it that way - so you can apply the same approach
to your own projects.

A real SwiftUI feature - built from scratch
with Claude Code and Xcode's built-in agen.

What we build: a fully custom Prize Wheel with SwiftData persistence,
custom wheel items, colours, spin animation, win history, and haptics.

⭐ GitHub Repo: https://github.com/NDCSwift/Claude_Prizewheel_App
⭐ Prompts Gist: https://gist.github.com/NDCSwift/3dd5b6397fc165dd3aa817d003188bf5
📌 Prerequisites — watch these first or you'll be lost:
— CLAUDE.md Masterclass → https://youtu.be/0UaqjKb3QHM
— Xcode Agentic Coding → https://youtu.be/t8UXKifcLXQ
— Paul Hudson's Claude Skills in Xcode → https://youtu.be/nKVZBKoB6P4?si=5PWyYrmLDe37g5uC

⏱️ Timestamps:
00:00 — What this video actually is (and what it isn't)
01:05 — Prerequisites + setup
01:53 — The prompting strategy explained upfront
03:12 — Prompt 1: Context brief (scope before code)
05:13 — Prompt 2: SwiftData models
07:21 — Prompt 3: Prize wheel view (static Canvas drawing)
09:56 — Prompt 4: Spin animation + winner logic
12:34 — Prompt 5: ViewModel + SwiftData wiring
16:01 — Prompt 6: Item management (add / edit / delete)
18:34 — Quick Error Fix
19:30 — Testing on Simulator
21:04 — Prompt 7: Bug Fixes
23:54 — Prompt 8: Win history view
25:56 — Prompt 9: Polish (haptics, edge cases, visual)
28:07 — Testing on Real Device
29:23 — Prompt 10: Fixing Spin Bug
29:45 — Final result

📌 What you'll take away:
— A repeatable prompting framework for any feature
— Why context-first prompting beats "just ask for the code"
— How to chunk a feature into agent-friendly stages
— How to course-correct without starting over
— A working prize wheel you can ship or extend

#ClaudeCode #iOSDevelopment #SwiftUI #AIcoding #XcodeAgent

Видео Claude Code + Xcode — Prize Wheel Feature from Zero (Full Prompting Strategy) канала NDC
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять