swiftui-patterns
✓Verwendung bei der Implementierung von iOS 17+ SwiftUI-Mustern: @Observable/@Bindable, MVVM-Architektur, NavigationStack, Lazy Loading, UIKit-Interop, Barrierefreiheit (VoiceOver/Dynamic Type), asynchrone Vorgänge (.task/.refreshable) oder Migration von ObservableObject/@StateObject.
Installation
SKILL.md
SwiftUI 17+ removes ObservableObject boilerplate with @Observable, simplifies environment injection with @Environment, and introduces task-based async patterns. The core principle: use Apple's modern APIs instead of reactive libraries.
| Observable model | @Observable | ObservableObject | | Published property | Regular property | @Published | | Own state | @State | @StateObject | | Passed model (binding) | @Bindable | @ObservedObject | | Environment injection | environment(:) | environmentObject(:) | | Environment access | @Environment(Type.self) | @EnvironmentObject |
| Async on appear | .task { } | .onAppear { Task {} } | | Value change | onChange(of:initial::) | onChange(of:perform:) |
Verwendung bei der Implementierung von iOS 17+ SwiftUI-Mustern: @Observable/@Bindable, MVVM-Architektur, NavigationStack, Lazy Loading, UIKit-Interop, Barrierefreiheit (VoiceOver/Dynamic Type), asynchrone Vorgänge (.task/.refreshable) oder Migration von ObservableObject/@StateObject. Quelle: johnrogers/claude-swift-engineering.
Fakten (zitierbereit)
Stabile Felder und Befehle für KI/Such-Zitate.
- Installationsbefehl
npx skills add https://github.com/johnrogers/claude-swift-engineering --skill swiftui-patterns- Kategorie
- </>Entwicklung
- Verifiziert
- ✓
- Erstes Auftreten
- 2026-02-01
- Aktualisiert
- 2026-02-18
Schnelle Antworten
Was ist swiftui-patterns?
Verwendung bei der Implementierung von iOS 17+ SwiftUI-Mustern: @Observable/@Bindable, MVVM-Architektur, NavigationStack, Lazy Loading, UIKit-Interop, Barrierefreiheit (VoiceOver/Dynamic Type), asynchrone Vorgänge (.task/.refreshable) oder Migration von ObservableObject/@StateObject. Quelle: johnrogers/claude-swift-engineering.
Wie installiere ich swiftui-patterns?
Öffnen Sie Ihr Terminal oder Kommandozeilen-Tool (Terminal, iTerm, Windows Terminal, etc.) Kopieren Sie diesen Befehl und führen Sie ihn aus: npx skills add https://github.com/johnrogers/claude-swift-engineering --skill swiftui-patterns Nach der Installation wird der Skill automatisch in Ihrer KI-Programmierumgebung konfiguriert und ist bereit zur Verwendung in Claude Code oder Cursor
Wo ist das Quell-Repository?
https://github.com/johnrogers/claude-swift-engineering
Details
- Kategorie
- </>Entwicklung
- Quelle
- skills.sh
- Erstes Auftreten
- 2026-02-01