What problem does it solve?
SwiftUI apps can suffer from slow rendering, UI hitches, and excessive update churn driven by state changes and complex view hierarchies. This Skill guides you through end-to-end performance triage from code review to informed profiling and remediation.
Core Features & Use Cases
- Code-First Review: Start with the target view code to identify root causes such as unstable identities, layout thrash, and heavy work inside body.
- Instrument-guided Profiling: Use Instruments SwiftUI templates to capture updates, Time Profiler, and hangs/hitches, then map findings to concrete fixes.
- Remediation Patterns: Propose targeted changes like localizing state, caching expensive computations, reducing layout complexity, and simplifying view hierarchies to shrink update fan-out.
- Use Case: When a screen scrolls jerkily or exhibits CPU/memory spikes, apply this Skill to diagnose the root cause and craft an actionable remediation plan.
Quick Start
Provide your SwiftUI view code or a detailed symptom description to begin the Code-First Review.