preferredContentSize
The desired size of the view controller’s view, in screen units.
Declaration
var preferredContentSize: NSSize { get set }Discussion
Set this property to express the desired size for a view controller’s view. A parent view controller can consult the value of this property when performing layout.