Contents

NSWindow.CollectionBehavior

Window collection behaviors related to Mission Control, Spaces, and Stage Manager.

Declaration

struct CollectionBehavior

Overview

Collection behaviors are properties you set on windows to control their display characteristics in window management technologies. Use them to specify a preference on how windows behave in window management technologies like Mission Control, Spaces, and Stage Manager.

To set a collection behavior on a window, assign one or more behavior options to the window’s collectionBehavior property:

Not all collection behaviors apply to all windowing management technologies, and some are mutually exclusive to their respective groups. For example, primary, auxiliary, and canJoinAllApplications only apply to full screen and Stage Manager. They’re also mutually exclusive. Specify at most one per window.

Topics

Window Collection Behaviors Creation

Stage Manager and full screen

Spaces

Mission Control

Spaces and Mission Control

Full screen

Window cycling

See Also

Constants