I’m new to Cocoa and am trying to create a very simple keynote clone.
For my slides, in the detail view, I use an NSStackView comprised of Textfields set with NSAttributedString. This part works pretty well.
My master section is where I have problems.
I thought I could clone a “slide” View using archive/unarchive, add all the slides to an NSStaxkView and then somehow scale down the sidebar (master) slides.
Problems I have:
1) for the life of me I can’t figure out how to scale the view down to 10% size.
2) I tried using NSBox to create the “card” effect in the sidebar that keynote uses, but am unable to render the view content inside an NSBox for some reason.
Am I going about the architecture all wrong? Any general guidance? I’m currently reading through https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/CocoaBindings/Tasks/masterdetail.html