uikit

Guide UIKit development in Swift with MVVM + Coordinator and Auto Layout.

7|1|Updated Nov 3, 2025
One-click install
npx skills add https://github.com/ar4mirez/samuel --skill uikit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: uikit
Source: https://github.com/ar4mirez/samuel/tree/main/template/.claude/skills/uikit
Command: npx skills add https://github.com/ar4mirez/samuel --skill uikit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and best practices for developing iOS applications using UIKit, ensuring maintainable, scalable, and high-quality code.

Core Features & Use Cases

  • Architectural Patterns: Implements MVVM + Coordinator for robust app structure.
  • UI Development: Offers guidelines for programmatic UI, Auto Layout, and reusable components.
  • Memory Management: Enforces best practices for preventing memory leaks.
  • Use Case: When starting a new iOS project or refactoring an existing one, use this Skill to establish a solid architectural foundation and adhere to industry-standard patterns for efficient development.

Quick Start

Follow the UIKit best practices outlined in this skill to build a new feature.

Frequently Asked Questions about uikit

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

FAQPage Schema
How do I structure an iOS app using MVVM and the Coordinator pattern in Swift?

To structure an iOS app using MVVM and the Coordinator pattern in Swift, you separate view logic into ViewModels and handle navigation flow with Coordinators, establishing a robust architecture for scalable and maintainable UIKit applications.

What is the best way to build programmatic UI with Auto Layout in UIKit?

The best way to build programmatic UI with Auto Layout in UIKit is by defining views and constraints in code rather than Storyboards, offering better reusability, collaboration, and control over your UI components.

How do I prevent memory leaks in UIKit view controllers?

To prevent memory leaks in UIKit view controllers, enforce proper memory management best practices by using weak references for delegates and closures to avoid retain cycles in your Swift code.

When should I use UIKit for iOS development instead of SwiftUI?

You should use UIKit for iOS development when building complex, highly customized applications or refactoring existing projects, providing mature patterns for table views, collection views, and programmatic UI that ensure maintainability at scale.

Can I use the Coordinator pattern for navigation in existing UIKit projects?

Yes, you can use the Coordinator pattern for navigation in existing UIKit projects, decoupling navigation logic from view controllers to make your app structure more modular and easier to maintain during refactoring.

Why does programmatic UI in UIKit require specific project structure guidelines?

Programmatic UI in UIKit requires specific project structure guidelines to manage complexity and ensure reusable components, establishing a solid architectural foundation that keeps scalable iOS applications maintainable as they grow.