From ios-dev
iOS performance - main thread blocking, rendering, memory leaks, battery drain, profiling
npx claudepluginhub willsigmon/sigstack --plugin ios-devThis skill is limited to using the following tools:
Performance optimization for Leavn iOS 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.
Performance optimization for Leavn iOS app.
Find heavy work in View body:
// BAD: In View body
let image = processImage(data) // Blocks UI
// GOOD: In ViewModel, async
Task { processedImage = await processImage(data) }
@Observable (not @Published) for granular updatesEquatableView for expensive viewsLazyVStack/LazyHStack for listsdrawingGroup() for complex graphics[weak self] in closuresInstruments > Leaks to find issuesbeginBackgroundTask sparingly# Time Profile
xcrun xctrace record --template "Time Profiler" --launch -- /path/to/app
# Memory
xcrun xctrace record --template "Leaks" --launch -- /path/to/app
Use when: Slow UI, battery drain, memory issues, thermal throttling