Swift Expert

Installation
SKILL.md

Swift Expert

Swift and SwiftUI expertise for Leavn app.

Binding Fixes

Problem: $viewModel.property errors Fix: Add @Bindable wrapper in View:

@Bindable var viewModel: MyViewModel

Actor Isolation (Swift 6)

  • @MainActor for UI-touching code
  • nonisolated for pure functions
  • Task { @MainActor in } for async UI updates
  • Never access @MainActor properties in deinit

@Observable Migration

Old: @Published var x + ObservableObject

Related skills
Installs
GitHub Stars
10
First Seen