uikit

Review UIKit code for deprecated APIs, retain cycles, and accessibility issues.

1|Updated Jun 9, 2026
One-click install
npx skills add https://github.com/Emasoft/emasoft-complete-ios-app-authoring --skill uikit-emasoft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: uikit
Source: https://github.com/Emasoft/emasoft-complete-ios-app-authoring/tree/main/skills/uikit
Command: npx skills add https://github.com/Emasoft/emasoft-complete-ios-app-authoring --skill uikit-emasoft

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill eliminates the guesswork and common pitfalls of UIKit development, ensuring your code is modern, maintainable, accessible, and aligned with iOS 26 / Swift 6.2 best practices, whether you're writing new features, reviewing existing code, or refactoring legacy patterns.

Core Features & Use Cases

  • Comprehensive Code Review: Detect deprecated APIs, retain cycles, layout issues, accessibility gaps, and performance anti-patterns in existing UIKit code with prioritized, patch-ready fixes.
  • Modern Code Authoring: Write production-ready UIKit code following Swift 6.2 concurrency, programmatic Auto Layout, and iOS 26 Liquid Glass design system standards.
  • Legacy Refactoring: Safely modernize old UIKit patterns (Storyboards, GCD, pre-diffable data sources) to current best practices without breaking existing functionality.
  • Use Case Example: A developer with a legacy iOS 17 UIKit app can use this Skill to audit their view controllers for retain cycles, update their table views to use diffable data sources, and add Liquid Glass styling to match iOS 26 design guidelines.

Quick Start

Use the uikit skill to review my ProfileViewController.swift file for retain cycles, deprecated APIs, and accessibility issues, and provide patch-ready fixes for any problems found.

Frequently Asked Questions about uikit

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

FAQPage Schema
How do I modernize UIKit code for iOS 26 and Swift 6.2 concurrency?

To modernize UIKit code, you must update legacy patterns to use Swift 6.2 concurrency, programmatic Auto Layout, and the iOS 26 Liquid Glass design system. This process involves replacing deprecated APIs and enforcing production-grade guardrails.

How do I find and fix retain cycles in my UIKit view controllers?

Finding retain cycles in UIKit view controllers requires a comprehensive code review to detect memory leaks and Auto Layout bugs. You can resolve them by applying patch-ready fixes that enforce proper memory management and modern Swift concurrency.

What is the best way to migrate legacy UIKit table views to diffable data sources?

Migrating legacy UIKit table views to diffable data sources involves safely refactoring old patterns without breaking existing functionality. This modernization replaces deprecated data source APIs with current diffable implementations for improved UI synchronization.

Can I bridge my UIKit views with SwiftUI using modern architecture patterns?

Yes, you can bridge UIKit views with SwiftUI by implementing MVVM or VIPER architectures. This approach allows you to integrate SwiftUI components into existing UIKit view lifecycles while maintaining separation of concerns and HIG compliance.

How do I make my iOS app accessible and compliant with HIG using UIKit?

Making an iOS app accessible and HIG compliant requires auditing UIKit code for accessibility non-compliance and layout issues. You must apply programmatic UI best practices and patch-ready fixes to resolve detected gaps and ensure proper VoiceOver support.

Does UIKit support adaptive layout for iPad Stage Manager and Liquid Glass design?

Yes, UIKit supports adaptive layout for iPad Stage Manager and the iOS 26 Liquid Glass design system. You can implement these features by applying modern Auto Layout techniques and checking deployment target availability for the latest APIs.