ios-expert

Provide source-referenced iOS development guidance for Swift, SwiftUI, UIKit, and Xcode.

Updated Nov 25, 2025
One-click install
npx skills add https://github.com/gounthar/bazel-riscv --skill ios-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ios-expert
Source: https://github.com/gounthar/bazel-riscv/tree/main/.claude/skills/ios
Command: npx skills add https://github.com/gounthar/bazel-riscv --skill ios-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers quickly master iOS development topics, streamlining guidance from Swift basics to advanced UIKit/SwiftUI patterns, reducing research time and debugging cycles.

Core Features & Use Cases

  • Swift & iOS Fundamentals: Language basics, optionals, and best practices.
  • UI Frameworks: SwiftUI and UIKit patterns, state management, and component design.
  • Tooling & Environment: Xcode configuration, debugging, and deployment considerations.
  • Use Case: Rapid guidance when building a new iOS app or upgrading an existing one.

Quick Start

Ask: "How do I create a SwiftUI List in iOS 17?" and let the Skill fetch relevant docs and provide an end-to-end example.

Frequently Asked Questions about ios-expert

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

FAQPage Schema
How do I build a user interface with SwiftUI in iOS?

SwiftUI is Apple's declarative framework for building iOS interfaces using Swift code. Define views as structs with @State for dynamic updates, compose them hierarchically, and preview changes instantly in Xcode. It replaces imperative UIKit patterns and integrates seamlessly with Swift's type system.

What's the difference between SwiftUI and UIKit for iOS development?

SwiftUI is declarative and modern, reducing boilerplate and enabling rapid prototyping, while UIKit is imperative and gives fine-grained control for complex layouts. SwiftUI suits new projects and iOS 13+; UIKit remains necessary for legacy apps and edge-case customization requiring lower-level APIs.

How do I debug iOS apps in Xcode?

Xcode provides breakpoints, step-through execution, the LLDB console, view debugger for UI inspection, and performance profiling tools. Set breakpoints on code lines, inspect variables in the debugger panel, and use the view hierarchy debugger to diagnose layout and rendering issues.

How do I optimize performance when deploying an iOS app?

iOS app optimization covers code efficiency, memory management, battery impact, and app size. Use Xcode's Instruments to profile CPU and memory, reduce bundle size via asset optimization, implement lazy loading, and follow Swift concurrency patterns to avoid blocking the main thread.

Can I use both SwiftUI and UIKit together in the same iOS app?

Yes, SwiftUI and UIKit coexist in the same app. Embed UIKit views in SwiftUI using UIViewControllerRepresentable, and wrap SwiftUI views in UIHostingController within UIKit. This hybrid approach enables gradual migration and leveraging both frameworks' strengths simultaneously.

What iOS and Apple platform features should I integrate into my app?

Modern iOS apps integrate push notifications, location services, camera access, health data, HomeKit for smart devices, and CloudKit for iCloud sync. Each requires Info.plist permissions and framework-specific APIs; the Skill guides configuration, privacy best practices, and deployment requirements.