I have implemented a custom NSView which contains many NSTextFields and other NSViews. I then embedded that custom view in a scroll vi
NSView
NSTextField
Building on the answer from Ken Thomases, with Swift 4, one can add flipped as a User-Defined attribute to NSClipView, to pin the contents to the top of the scrollview.
flipped