iOS Performance

Installation
SKILL.md

iOS Performance Standards

Priority: P0

Implementation Guidelines

Diagnostic Tools

  • Instruments: Regularly use Allocations and Leaks to detect memory issues.
  • Time Profiler: Identify heavy CPU tasks and Main Thread stalls.
  • Network instrument: Analyze request payload sizes and frequency.

Optimization

  • Table/Collection Views: Always use dequeueReusableCell and keep cellForRowAt logic lightweight.
  • Image Caching: Use SDWebImage or Kingfisher for remote assets to prevent redundant fetching and main-thread decoding. (Note: AsyncImage lacks built-in caching; prioritize third-party for lists).
  • Background threads: Offload expensive work (parsing, encryption) from the Main thread using GCD or Tasks.

Diagnostics

Installs
First Seen
iOS Performance — smithery/ai