Browsers

Browsers present a multiple column interface and are designed to display hierarchically organized information. For example, the column mode of the Finder uses a browser to navigate the file system.

Cocoa uses the NSBrowser and NSBrowserCell classes to implement browsers. An NSBrowser instance is a composite of many other objects. The object itself is normally contained within a horizontally scrolling scroll view and offers the option of showing or hiding the horizontal scrollbar. Each column of the browser is a single column NSMatrix containing one cell for each row. The cells are usually NSBrowserCell instances. The column matrix is wrapped inside of a vertically scrolling scroll view. Because each column has its own scroll view, each ...

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.