titled
The window displays a title bar.
Declaration
static var titled: NSWindow.StyleMask { get }Discussion
Setting this flag also causes the default value of canBecomeKey to become true. Setting this flag doesn’t cause a sheet to display a title, so you can set it on a sheet without having to hide the title separately.