ios-expert

Provide expert guidance on Swift, UIKit, SwiftUI, and Xcode workflows.

1|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/synqing/Lightwave-Ledstrip --skill ios-expert-synqing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ios-expert
Source: https://github.com/synqing/Lightwave-Ledstrip/tree/main/.claude/skills/iOS Expert
Command: npx skills add https://github.com/synqing/Lightwave-Ledstrip --skill ios-expert-synqing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides expert guidance on iOS development, helping you design architectures, write clean Swift, and navigate Apple's ecosystem, saving time and avoiding common pitfalls.

Core Features & Use Cases

  • Swift & UI: guidance on Swift, SwiftUI, and UIKit with practical code patterns.
  • Xcode & Tooling: best practices for Xcode configuration, debugging, and automation.
  • Architecture & Best Practices: MVVM, VIPER, module boundaries, testing, and performance considerations.
  • Use Case: when building an iOS app, ask for architecture recommendations and example components.

Quick Start

Ask: "How do I implement a MVVM-driven SwiftUI app with testable view models?"

Frequently Asked Questions about ios-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure an iOS app with MVVM architecture in Swift?

MVVM separates UI logic from business logic using view models that bind to SwiftUI or UIKit views. Structure your app with separate Model, ViewModel, and View layers to improve testability and maintainability. Use property observers or Combine publishers to keep views synchronized with state changes.

What's the best way to choose between SwiftUI and UIKit for a new iOS app?

SwiftUI offers modern declarative syntax and faster development for iOS 13+, while UIKit provides broader device support and mature ecosystem. Use SwiftUI for new projects targeting recent iOS versions; UIKit when supporting older devices or leveraging extensive third-party libraries. Both can coexist in the same app.

How do I debug performance issues and optimize an iOS app?

Use Xcode's Instruments to profile CPU, memory, and rendering performance. Common optimizations include reducing view hierarchy depth, lazy-loading data, caching expensive computations, and profiling with Core Animation tools. Test on real devices to catch performance gaps that simulators mask.

Can I test SwiftUI view models without running the full app?

Yes, SwiftUI view models are plain Swift classes and can be unit tested independently using XCTest. Mock dependencies, verify state changes, and validate business logic separately from UI rendering. This isolation makes view models highly testable and enables fast test cycles.

What setup do I need in Xcode before submitting an app to the App Store?

Configure signing certificates, provisioning profiles, and bundle identifiers in Xcode project settings. Set version and build numbers, complete app metadata and privacy policies, and test on physical devices. Use App Store Connect to manage releases, TestFlight beta distribution, and submission workflows.

How do I integrate Apple ecosystem features like CloudKit or HealthKit into my iOS app?

Apple frameworks like CloudKit, HealthKit, and NotificationCenter require entitlements configured in Xcode and user permissions requested at runtime. Use native APIs with proper error handling and background modes for seamless integration. Reference Apple's official documentation and sample code for framework-specific patterns.