Skip to content

Instantly share code, notes, and snippets.

@garethjenkins
Created July 1, 2012 20:17
Show Gist options
  • Save garethjenkins/3029465 to your computer and use it in GitHub Desktop.
Save garethjenkins/3029465 to your computer and use it in GitHub Desktop.
log output of NSScreen
2012-07-01 21:16:37.979 Retina Resolution Menu[72064:403]
2012-07-01 21:16:37.979 Retina Resolution Menu[72064:403] description: <NSScreen: 0x7f870a903730>
2012-07-01 21:16:37.981 Retina Resolution Menu[72064:403] backing scale factor: 2.000000
2012-07-01 21:16:37.981 Retina Resolution Menu[72064:403] frame {{-1920, 240}, {1920, 1200}}
2012-07-01 21:16:37.981 Retina Resolution Menu[72064:403] visibleFrame {{-1916, 240}, {1916, 1200}}
2012-07-01 21:16:37.982 Retina Resolution Menu[72064:403] device description: {
NSDeviceBitsPerSample = 8;
NSDeviceColorSpaceName = NSCalibratedRGBColorSpace;
NSDeviceIsScreen = YES;
NSDeviceResolution = "NSSize: {144, 144}";
NSDeviceSize = "NSSize: {1920, 1200}";
NSScreenNumber = 69731264;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment