Mac OS X Reference Library Apple Developer
Search

TrackBall

Last Revision:
Version 1.0, 2007-06-07
Demonstrates how to build a custom control based on the NSControl class.
Build Requirements:
Xcode 3.0, Mac OS X 10.5
Runtime Requirements:
Mac OS X 10.5

"TrackBall" is a Cocoa sample application that demonstrates how to create your own custom Cocoa control. It is designed to show what needs to be done to develop a fully featured Cocoa control based on the NSControl class. It involves implementing behaviors such as drawing, mouse and scroll wheel tracking, text editing, as well as accessibility.

This is structured as a demo for use in the session "Building a Custom Control for your Cocoa Applicaton (125)" for WWDC 2007.




Last updated: 2007-06-07

Did this document help you? Yes It's good, but... Not helpful...