AI AGENT ADDONS

SwiftUI lets you build user interfaces for iPhone, iPad, and Mac. This skill teaches you the best patterns for managing state and composing views. You will learn how to use @Observable for property-level change tracking. This keeps your app fast and avoids unnecessary redraws.

State management is key to a smooth app. Choose the right tool for each job. Use @State for local values, @Binding for two-way links, and @Environment for shared dependencies. The Observation framework replaces old ObservableObject patterns.

Navigation is also covered. Use NavigationStack with a type-safe path. Break views into small subviews to limit re-renders. These patterns help you build reliable Apple apps with clean SwiftUI code.

Add Swiftui Patterns skill to your workflow

Global

mkdir -p ~/.claude/skills/swiftui-patterns

Project

mkdir -p .claude/skills/swiftui-patterns

Source Repository

Stars
222,953
Forks
34,145
Watchers
222,953
License
MIT
Last Push
25 days ago
Created
6 months ago