Deprecated NSWindow Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in Mac OS X v10.5

canBeVisibleOnAllSpaces

Indicates whether the window can be visible on all spaces or on only one space at a time. (Deprecated in Mac OS X v10.5. Use setCollectionBehavior: instead.)

- (BOOL)canBeVisibleOnAllSpaces

Return Value

YES when the window can be visible on all spaces; NO when it can be visible on only one space at a time.

Discussion

The default is NO.

Availability
Declared In
NSWindow.h

setCanBeVisibleOnAllSpaces:

Specifies whether the window can be visible on all spaces or on only one space at a time. (Deprecated in Mac OS X v10.5. Use collectionBehavior instead.)

- (void)setCanBeVisibleOnAllSpaces:(BOOL)flag

Parameters
flag

YES specifies that the window can be visible on all spaces; NO specifies that the window can be visible on only one space at a time.

Availability
Declared In
NSWindow.h


© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-10-08)