Challenge: Busy Board

A busy board is a toddler’s toy that is a collection of knobs, switches, and sliders to manipulate. Every action provides a visible response. To get practice working with controls, create a busy board using some common Cocoa controls.

Create a new Cocoa application like you did in this chapter. Name it BusyApp. Add the following controls:

  • a vertical slider and an adjacent text field that reports whether the slider is going up, going down, or staying the same

  • two radio buttons that turn the slider’s tick marks on and off

  • a checkbox whose label reads Uncheck me when it is checked and Check me when it is unchecked.

  • a secure text field and a button that reveals the contents of the secure text ...

Get Cocoa Programming for OS X: The Big Nerd Ranch Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.