Swift95

Workspace​Window​Configuration95

Minimum size and capabilities for one logical window.

WorkspaceWindowConfiguration95 declares which window controls and interactions are available independently for each route.

Use it

import CoreGraphics
import Swift95

let inspectorConfiguration = WorkspaceWindowConfiguration95(
  minimumSize: CGSize(width: 320, height: 240),
  capabilities: [.close, .resize, .move]
)

Essential behavior

CapabilitiesMinimize, maximize, close, resize, and move are independent options.
DefaultThe standard set enables every capability.
ApplicationAttach it with WorkspaceWindow95.configuration95(_:) in the route closure.

Related

Open the complete WorkspaceWindowConfiguration95 API reference →