migration-patterns

Provides Apple framework migration patterns and decision trees for six scenarios including UIKit to SwiftUI and Objective-C to Swift.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/mazicimert/RunDom --skill migration-patterns-mazicimert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migration-patterns
Source: https://github.com/mazicimert/RunDom/tree/main/.claude/skills/ios/migration-patterns
Command: npx skills add https://github.com/mazicimert/RunDom --skill migration-patterns-mazicimert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Migration between Apple frameworks is complex and error-prone; this skill provides consolidated patterns and guidance to navigate modern framework transitions.

Core Features & Use Cases

  • Comprehensive migration guides covering CoreData to SwiftData, UIKit to SwiftUI, ObservableObject to @Observable, XCTest to Swift Testing, Objective-C to Swift, and StoreKit 1 to StoreKit 2.
  • Decision trees and process steps to assess surface area, strategies, and coexistence approaches for incremental migration.
  • Quick references to the relevant reference files and example mappings to accelerate planning and execution.

Quick Start

Ask how to migrate between Apple framework generations and use the decision tree in this guide to identify the appropriate reference file.

Frequently Asked Questions about migration-patterns

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

FAQPage Schema
How do I migrate from UIKit to SwiftUI incrementally?

Migrating UIKit to SwiftUI requires assessing your UI surface area and applying coexistence strategies for incremental adoption. Decision trees provide reference mappings to transition views and logic smoothly.

What is the best way to migrate CoreData to SwiftData?

The best way to migrate CoreData to SwiftData involves using structured migration patterns and reference mappings. These guides provide process steps to assess data strategies and execute the transition accurately.

Can I migrate ObservableObject to the new @Observable macro?

You can migrate ObservableObject to @Observable using specific migration patterns. The observable-migration.md reference provides structured guidance and example mappings for updating observation logic.

How do I transition from XCTest to Swift Testing?

Transitioning from XCTest to Swift Testing uses dedicated process steps and reference mappings. This ensures structured guidance for incremental adoption of the new testing framework accurately.

Does this guide cover migrating from StoreKit 1 to StoreKit 2?

Migrating from StoreKit 1 to StoreKit 2 is covered by storekit-migration.md. It provides consolidated migration patterns and decision trees to handle code and data migration scenarios.

What are the limitations of incremental Apple framework migration?

Incremental Apple framework migration requires careful coexistence management between old and new paradigms. Decision trees help assess surface area and strategies, but complex dependencies may complicate transitions.