In Keynote and Pages you have a large working area to which you add text and objects. One such object is a Textbox (in Keynote, located left of Shapes). It is a piece of text with a black border around it. Changing the text or its attributes changes the box size. I am trying to replicate this behaviour, with little succes. I have tried modifying NSTextField's and NSTextView's. My question is what kind of object is this?