Skip to content
Back to skills

Ios Performance

ASecurity

Quick start: 1. Open Instruments and run Time Profiler to find CPU hot spots, then run Allocations and Leaks to catch memory growth and retain cycles. 2. Keep scrolling views cheap: use `dequeueReusableCell`, avoid heavy work in `cellForRowAt`, and cache remote images with something like Kingfisher or SDWebImage. 3. Move expensive parsing, formatting, and crypto off the main thread with GCD or Swift concurrency. 4. Use Xcode Analyze and treat warnings as errors in Release to catch issues earl...

  • 584 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 5, 2026
developmentswiftapi

Works with

  • api

Security analysis

A100/100

Pro scans all 12 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add HoangNguyen0403/agent-skills-standard --skill ios-performance --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ios Performance?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ios Performance
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hoangnguyen0403-ios-performance-e9519503/badge)](https://www.skillsdirectory.com/skills/hoangnguyen0403-ios-performance-e9519503)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
Quick start:

1. Open Instruments and run Time Profiler to find CPU hot spots, then run Allocations and Leaks to catch memory growth and retain cycles.
2. Keep scrolling views cheap: use `dequeueReusableCell`, avoid heavy work in `cellForRowAt`, and cache remote images with something like Kingfisher or SDWebImage.
3. Move expensive parsing, formatting, and crypto off the main thread with GCD or Swift concurrency.
4. Use Xcode Analyze and treat warnings as errors in Release to catch issues earlier.

Example:

```swift
final class FeedViewController: UITableViewController {
    private var items: [FeedItem] = []

    override func viewDidLoad() {
        super.viewDidLoad()
        loadItems()
    }

    private func loadItems() {
        Task.detached(priority: .userInitiated) {
            let data = try await API.fetchFeed()
            let decoded = try JSONDecoder().decode([FeedItem].self, from: data)

            await MainActor.run {
                self.items = decoded
                self.tableView.reloadData()
            }
        }
    }

    override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        let cell = tableView.dequeueReusableCell(withIdentifier: "FeedCell", for: indexPath)
        cell.textLabel?.text = items[indexPath.row].title
        return cell
    }
}
```

Rule of thumb: profile first, fix the biggest hotspot, then re-measure.

Files in this skill

  • eval-1.baseline.md1.4 KB
  • eval-1.with-skill.md1.5 KB
  • eval-2.baseline.md853 B
  • eval-2.with-skill.md700 B
  • eval-3.baseline.md1.1 KB
  • eval-3.with-skill.md1.4 KB
  • trigger-1.md181 B
  • trigger-2.md153 B
  • trigger-3.md163 B
  • trigger-4.md116 B
  • trigger-5.md119 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.