Skip to content

refactor: remove UIKit-to-SwiftUI hosting in reader pages#536

Merged
everpcpc merged 1 commit intomainfrom
codex/curl-no-hosting
Feb 22, 2026
Merged

refactor: remove UIKit-to-SwiftUI hosting in reader pages#536
everpcpc merged 1 commit intomainfrom
codex/curl-no-hosting

Conversation

@everpcpc
Copy link
Copy Markdown
Owner

Summary

  • Replace the curl reader UIHostingController bridge with native UIKit page controllers to keep rendering flow one-way (SwiftUI -> UIKit).
  • Extract native page item implementations into dedicated iOS and macOS files so scroll and curl readers share the same UIKit/AppKit image rendering core.
  • Rebuild the native end page UI to match the SwiftUI design, including next-book metadata, cover rendering, and adaptive iOS 26 glass button styling.
  • Split end-page cover rendering into NativeBookCoverViewController so mask/shadow/image-loading behavior is reusable and isolated.

Testing

  • make build-ios
  • make build-macos
  • make build-tvos

Replace the curl reader UIHostingController bridge with native UIKit page and end page controllers to keep rendering one-way from SwiftUI into UIKit.

Extract NativePageItem implementations into dedicated iOS and macOS files for reuse from scroll-based readers.

Align the native end page presentation with the SwiftUI design, including next-book metadata, cover rendering, and adaptive button styling on iOS 26.
@everpcpc everpcpc merged commit c3e1680 into main Feb 22, 2026
3 checks passed
@everpcpc everpcpc deleted the codex/curl-no-hosting branch February 22, 2026 04:12
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.

1 participant