NSWindow.CollectionBehavior
Window collection behaviors related to Mission Control, Spaces, and Stage Manager.
Declaration
struct CollectionBehaviorOverview
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
NSWindow.SelectionDirectionNSWindow.ButtonTypeNSRunLoop—Ordering Modes for NSWindowNSWindow.DepthNSWindow.BackingStoreTypeNSWindow.OrderingModeNSWindow.SharingTypeNSWindow.NumberListOptionsNSWindow.AnimationBehaviorNSWindow.OcclusionStateNSWindow.TitleVisibilityNSWindow.UserTabbingPreferenceNSWindow.TabbingModeApplication Kit Version for Deferred Window Display SupportApplication Kit Version for Custom Sheet Position