From ios-dev
Swift/SwiftUI issues - compiler errors, bindings, @Observable, actor isolation, best practices
npx claudepluginhub willsigmon/sigstack --plugin ios-devThis skill is limited to using the following tools:
Swift and SwiftUI expertise for Leavn app.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides MCP server integration in Claude Code plugins via .mcp.json or plugin.json configs for stdio, SSE, HTTP types, enabling external services as tools.
Swift and SwiftUI expertise for Leavn app.
Problem: $viewModel.property errors
Fix: Add @Bindable wrapper in View:
@Bindable var viewModel: MyViewModel
@MainActor for UI-touching codenonisolated for pure functionsTask { @MainActor in } for async UI updatesOld: @Published var x + ObservableObject
New: @Observable class + plain var x
View: @State var vm = ViewModel() (not @StateObject)
Use when: Swift errors, SwiftUI bugs, migration issues, best practices