1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 12:27:36 +00:00

MacPDF: Introduce MacPDFWindowController

I'd like to add a sidebar, and NSSplitViewItem apparently isn't
accessibly in .xib files without contortions. So I want to move
to creating the window in code, and this is a step towards that.

No behavior change.
This commit is contained in:
Nico Weber 2023-10-02 19:45:38 -04:00 committed by Andreas Kling
parent d6dff83397
commit 67f6baead0
4 changed files with 45 additions and 2 deletions

View file

@ -19,6 +19,7 @@ add_executable(MacPDF MACOSX_BUNDLE
AppDelegate.mm
MacPDFDocument.mm
MacPDFView.mm
MacPDFWindowController.mm
)
target_compile_options(MacPDF PRIVATE
-fobjc-arc