Swift95

Workspace​Window​Resize​Control95

Controls whether a window displays its classic resize affordance.

WorkspaceWindowResizeControl95 lets a window inherit automatic behavior or explicitly show or hide the resize handle.

Use it

import Swift95

let automaticResizeControl: WorkspaceWindowResizeControl95 = .automatic
let statusBarResizeControl: WorkspaceWindowResizeControl95 = .statusBar
let hiddenResizeControl: WorkspaceWindowResizeControl95 = .hidden

Essential behavior

AutomaticFollows presentation and the window’s resize capability.
Status barReserves a classic status bar and shows a grip when resizing is supported.
HiddenSuppresses the visual affordance without changing other capabilities.

Related

Open the complete WorkspaceWindowResizeControl95 API reference →