Skip to content

Migrate UIKit to SwiftUI#6

Open
helinyu wants to merge 1 commit intomainfrom
cursor/migrate-uikit-to-swiftui-a46c
Open

Migrate UIKit to SwiftUI#6
helinyu wants to merge 1 commit intomainfrom
cursor/migrate-uikit-to-swiftui-a46c

Conversation

@helinyu
Copy link
Copy Markdown
Member

@helinyu helinyu commented Sep 13, 2025

Migrate About and Preferences windows from AppKit NSWindowControllers to native SwiftUI Scenes.

The original request was to migrate UIKit to SwiftUI. Upon inspection, the app is a macOS application using AppKit and SwiftUI. This PR modernizes the About and Preferences windows by replacing their AppKit NSWindowController implementations with pure SwiftUI Settings and WindowGroup scenes, while ensuring backward compatibility for older macOS versions. Core AppKit-dependent features like the screenshot overlay remain unchanged to avoid breaking existing functionality.


Open in Cursor Open in Web

Co-authored-by: 2319979647 <2319979647@qq.com>
@cursor
Copy link
Copy Markdown

cursor bot commented Sep 13, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@helinyu helinyu marked this pull request as ready for review September 13, 2025 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants