You’re previewing Ry’s Cocoa Tutorial

Cocoa UI Components

A quick browse through the Object Library will tell you that there are a plethora of UI components included with Cocoa. We’ve worked with a few of them over the course of this tutorial, but there are still many that we haven’t even mentioned.

The above chapters introduce some of the most common UI components. The list is by no means exhaustive, but it should give you a good idea of what’s possible when it comes to Cocoa user interfaces. For the purposes of this reference, we’ve broken down the UI components into three categories:

Control views are used to collect user input and display simple data values. In contrast, container views arrange other UI components into various layouts. Finally, data views have a direct connection to an underlying data set. Understanding how to interact with these three classes of UI components will let you build virtually any Mac App interface you could possibly need.

As you read through this reference, remember that the purpose behind having so many built-in components is not only to reduce development time, but also to provide a consistent user experience. We won’t just be covering basic configuration options—we’ll explore why and when you should use a particular component.

Sorry, this is the end of the preview. To read the rest of this chapter, you’ll need to purchase Ry’s Cocoa Tutorial.

Mailing List

Sign up for my low-volume mailing list to find out when new content is released. Next up is a comprehensive Swift tutorial planned for late January.

You’ll only receive emails when new tutorials are released, and your contact information will never be shared with third parties. Click here to unsubscribe.