This example application retrieves the names of all available screens attached to the computer. The application preselects a screen and stores the selection in a member variable.
The included DisplayInfo class is inspired by an example given by Robert Harder on stackoverflow.com. Please find the original post here.
The screenshot shows the current implementation.
The following configuration is used for the project.
- MacOSX 10.6.6
- XCode 3.2.5. 64bit
- Cocoa Application
- Garbage collection