Graphically
In XCode a simple NSTextView can be created by dragging and dropping one from the Object Library.
This NSTextView sits inside an NSScrollView that is automatically set to expand vertically with the text view. Make sure when option(⌥)-dragging you make connections to the text view and...