I spent way too long with this now: I need a magnifying ScrollView for a macOS only project, and so I decided to create a custom one with declares. Which basically works nicely, at least until I try to add a Canvas to its documentView and change the magnification factor.
Apparently, macOS wants to handle the layout via NSLayoutConstraints which I included, but the C and Swift examples I tried to translate still don’t give me something usable. Did anyone tackle this control fully? And/or would someone be willing to give some advice?