·swiftui-patterns
</>

swiftui-patterns

johnrogers/claude-swift-engineering

À utiliser lors de l'implémentation de modèles SwiftUI iOS 17+ : @Observable/@Bindable, architecture MVVM, NavigationStack, chargement différé, interopérabilité UIKit, accessibilité (VoiceOver/Dynamic Type), opérations asynchrones (.task/.refreshable) ou migration depuis ObservableObject/@StateObject.

70Installations·2Tendance·@johnrogers

Installation

$npx skills add https://github.com/johnrogers/claude-swift-engineering --skill swiftui-patterns

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:) |

À utiliser lors de l'implémentation de modèles SwiftUI iOS 17+ : @Observable/@Bindable, architecture MVVM, NavigationStack, chargement différé, interopérabilité UIKit, accessibilité (VoiceOver/Dynamic Type), opérations asynchrones (.task/.refreshable) ou migration depuis ObservableObject/@StateObject. Source : johnrogers/claude-swift-engineering.

Voir l'original

Faits (prêts à citer)

Champs et commandes stables pour les citations IA/recherche.

Commande d'installation
npx skills add https://github.com/johnrogers/claude-swift-engineering --skill swiftui-patterns
Catégorie
</>Développement
Vérifié
Première apparition
2026-02-01
Mis à jour
2026-02-18

Réponses rapides

Qu'est-ce que swiftui-patterns ?

À utiliser lors de l'implémentation de modèles SwiftUI iOS 17+ : @Observable/@Bindable, architecture MVVM, NavigationStack, chargement différé, interopérabilité UIKit, accessibilité (VoiceOver/Dynamic Type), opérations asynchrones (.task/.refreshable) ou migration depuis ObservableObject/@StateObject. Source : johnrogers/claude-swift-engineering.

Comment installer swiftui-patterns ?

Ouvrez votre terminal ou outil de ligne de commande (Terminal, iTerm, Windows Terminal, etc.) Copiez et exécutez cette commande : npx skills add https://github.com/johnrogers/claude-swift-engineering --skill swiftui-patterns Une fois installé, le skill sera automatiquement configuré dans votre environnement de programmation IA et prêt à être utilisé dans Claude Code ou Cursor

Où se trouve le dépôt source ?

https://github.com/johnrogers/claude-swift-engineering