Introduction to Scroll View Programming Guide for Cocoa
A scroll view displays a portion of the contents of a view that’s too large to be displayed in a window and allows the user to move the document view within the scroll view. This document describes the
NSScrollView class and its use.
Who Should Read This Document
You should read this document if your application needs to display content that is too large to fit in a single view. View Programming Guide should be considered a prerequisite to this document, as is Cocoa Event Handling Guide.
Organization of This Document
Scroll View Programming Guide for Cocoa consists of the following articles:
“How Scroll Views Work” describes the components of scroll views and how they interact.
“Creating and Configuring a Scroll View” describes how to create and configure scroll views.
“Scrolling the Document View” describes how an application programmatically scrolls the contents of a scroll view.
“Synchronizing Scroll Views” describes how to synchronize scrolling of two scroll views.
There are other technologies, not fully covered in this document, that are fundamental to using scroll views in your application. Refer to these documents for more details:
Cocoa Event Handling Guide describes the event model used by Cocoa applications.
Cocoa Event Handling Guide describes how your application objects can handle the events that they receive and explains the responder chain.
View Programming Guide describes the view hierarchy and how to implement custom views in your application.
© 2010 Apple Inc. All Rights Reserved. (Last updated: 2010-06-19)