ios-uikit

Installation
SKILL.md

ios-uikit

Purpose

This skill equips the AI to assist in iOS app development using UIKit, focusing on building and managing user interfaces with UIViewController, UITableView/CollectionView, Auto Layout, programmatic UI creation, and bridging to SwiftUI via UIHostingController.

When to Use

Use this skill for iOS projects needing custom views, lists, or layouts without storyboards; ideal for programmatic UI in Swift apps, integrating UIKit with SwiftUI, or handling dynamic content in UITableView; avoid if using SwiftUI exclusively or for non-iOS platforms.

Key Capabilities

  • Manage UIViewController lifecycle: Implement viewDidLoad, viewWillAppear for setup and updates.
  • Handle UITableView/CollectionView: Set up data sources, delegates, and cell reuse for efficient list rendering.
  • Apply Auto Layout programmatically: Use NSLayoutConstraint to define layouts dynamically, ensuring adaptability to device sizes.
  • Create programmatic UI: Build views using UIView subclasses and add subviews via code, bypassing Interface Builder.
  • Bridge to SwiftUI: Use UIHostingController to embed SwiftUI views in UIKit apps for mixed architecture support.

Usage Patterns

To create a UIViewController subclass, define a new class inheriting from UIViewController and override key methods; for example, in a new file, write:

import UIKit
Related skills
Installs
23
GitHub Stars
5
First Seen
Mar 7, 2026