Migration ticket: UIKit/XIB/MVP → SwiftUI - #3
Conversation
A prompt that fires an agent to plan and implement migrating the UIKit scenes (MVP triples + XIBs) to SwiftUI while reusing the Core framework. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR introduces a migration specification document ( ChangesUIKit-to-SwiftUI Migration Specification
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
What
Adds
migrations/02-swiftui.md— a self-contained agent prompt to migrate the UIKit scene layer (XIB-backed View ↔ Presenter ↔ Configurator triples) to SwiftUI with observable view models.This PR carries the ticket/prompt only; it does not implement the migration. Hand the prompt to an agent to produce a plan and then implement it.
Why
The UI is UIKit + XIBs/storyboards with hand-wired MVP/Clean scaffolding (Presenters, Configurators, Routers). SwiftUI removes most of that boilerplate while the
Corebusiness-logic framework stays intact and reused.Scope (per the prompt)
EmptyPerson→PersonOverview→EditPerson→PersonsList@Observableview models calling existingCoreuse casesNavigationStackrouting;PhotosPickerreplacingWDImagePickerTimelineViewfor live age viaAgeCalculatorCoretests green; update README architecture section🤖 Generated with Claude Code
Summary by CodeRabbit