How to embed an nsstackview in an nsscrollview

Could somebody give me a tip please.
I know how to do it on iOS, but on macOS itโ€™s not that easy.