Simple Views and Controls
Most of this chapter is concerned with cataloging the many user interface elements offered by Cocoa. This section covers the simplest views and controls. Buttons, sliders, and text fields are controls common to almost any graphical user interface. Passive views for displaying images and progress of a long task are also common. In Cocoa, each of these objects has a single cell instance associated with it.
These controls are normally laid out and configured in Interface Builder. Many methods can also be used to modify all Cocoa controls without the need for Interface Builder. It is important to realize that Interface builder is actually instantiating these objects and editing them. That means that internally Interface ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access