Contents

borderType

The receiver’s border type.

Declaration

var borderType: NSBorderType { get set }

Discussion

A constant describing the type of border. Border types are defined in NSView.h. Currently, the following border types are defined: NSNoBorder,NSLineBorder,NSBezelBorder, NSGrooveBorder.

By default, the border type of an NSBox is NSGrooveBorder.

If the size of the new border is different from that of the old border, the content view is resized to absorb the difference, and the box is marked for redisplay.

See Also

Configuring Boxes