Chapter 10. Views and Controls

IN THIS CHAPTER

This chapter focuses on using the wide array of user interface objects, or widgets, found in the Application Kit. Interactive widgets, such as sliders, buttons, and text fields, are known as controls in Cocoa because they all descend from the NSControl class, which is a subclass of NSView. Passive widgets, such as progress bars, are usually just known as views because they descend from NSView. This chapter covers nearly all the simpler Cocoa controls and views. A discussion of the remaining control and view classes, which are all considerably more complex than those in this chapter, can be found in Chapter 18, “Advanced ...

Get Cocoa® Programming 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.