templates

iOS Template

System Text-to-Speech Ready
Slide: 0:00 / 0:00
Slide 1 of 0Interactive Deck

Full Lesson Reference

A CLAUDE.md template for iOS apps.

The Template

terminal
# App Name

An iOS app that [core functionality].

---

## What This Is

[Description of the app]

## Tech Stack

- iOS app (SwiftUI)
- Target: iOS 17+
- No external dependencies (prefer built-in APIs)
- [Data persistence: SwiftData / UserDefaults / etc.]

## Current State

[Where is the project?]

## Features

- [ ] Core: [main feature]
- [ ] [Feature 2]
- [ ] [Feature 3]
- [ ] Settings
- [ ] Polish & details

## Screens

1. **Main Screen** — [what it shows]
2. **[Screen 2]** — [purpose]
3. **Settings** — [what's configurable]

## Conventions

- SwiftUI-first
- Follow Apple Human Interface Guidelines
- Support light and dark mode
- Native iOS patterns (tab bar, navigation, sheets)

## Structure

AppName/ ├── AppNameApp.swift # App entry point ├── Views/ │ ├── MainView.swift │ ├── [Feature]View.swift │ └── SettingsView.swift ├── Models/ │ └── ... ├── Services/ │ └── ... └── Resources/ └── Assets.xcassets

terminal

## Data Model

[Describe main data types if applicable]

## Notes

[Anything specific to this project]

Exercises

  1. Copy this template into a CLAUDE.md and list your real screens under "Screens," giving each a one-line purpose.
  2. Fill in the "Data Model" section with the main data types your app stores, and pick a persistence approach (SwiftData, UserDefaults, etc.) in the Tech Stack.
  3. Replace the placeholder features with your core feature plus two supporting ones, keeping the Settings and Polish items so you remember to finish them.