This example application retrieves the names of all available screens attached to the computer.
Objective-C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
DisplayInfo.xcodeproj
English.lproj
.gitignore
DisplayInfo-Info.plist
DisplayInfo.h
DisplayInfo.m
DisplayInfoAppDelegate.h
DisplayInfoAppDelegate.m
DisplayInfoController.h
DisplayInfoController.m
DisplayInfo_Prefix.pch
README.md
main.m
screenshot.png

README.md

DisplayInfo

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.

Screenshot

The screenshot shows the current implementation.

DisplayInfo

Configuration

The following configuration is used for the project.

  • MacOSX 10.6.6
  • XCode 3.2.5. 64bit
  • Cocoa Application
  • Garbage collection