May 2003
Intermediate to advanced
566 pages
27h 29m
English
NSScreen — Mac OS X 10.0
This class represents a user’s monitor, and allows
clients to ascertain properties of the display such as width and
height in pixels, or color bit-depth. This class works only in the
presence of an instance of NSApplication;
NSScreen requires that an application have a
connection to the window server to obtain information about the
screen, which is provided by NSApplication.
|
|
@interface NSScreen : NSObject
|
// Convenience Constructors
|
+ (NSArray *)screens;
|
// Class Methods
|
+ (NSScreen *)deepestScreen;
|
+ (NSScreen *)mainScreen;
|
// Instance Methods
|
- (NSWindowDepth)depth;
|
- (NSDictionary *)deviceDescription;
|
- (NSRect)frame;
|
- (const NSWindowDepth *)supportedWindowDepths;
|
- (NSRect)visibleFrame;
|
Read now
Unlock full access