SpeedometerView
Last Revision: | Version 1.3, 2012-05-31 Upgraded to Xcode 4.3 and Mac OS X 10.7, fixed some compiler warnings. (Full Revision History) |
Build Requirements: | Xcode 4.3, Mac OS X 10.7.x or later |
Runtime Requirements: | Mac OS X 10.6.x or later |
This sample shows how to make a custom NSView that can respond to mouse clicks. It draws a speedometer like view displaying values between 0 and 100. This sample includes code showing how to convert a NSString into a NSBezierPath.
Copyright © 2012 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2012-05-31