Next Page > Hide TOC

Introduction to View Programming Guide for Cocoa

Contents:

Who Should Read This Document
Organization of This Document
See Also


A view instance is responsible for drawing and responding to user actions in a rectangular region of a window. This document describes the role of views in a Cocoa application, how to manipulate views in a window, and how to create a custom view subclass for an application.

Who Should Read This Document

You should read this document to gain an understanding of working with views in a Cocoa application. You are expected to be familiar with Cocoa development, including the Objective-C language and memory management. The Cocoa Fundamentals Guide should be considered a prerequisite. The “Creating a Custom View” article expects that a developer is familiar with the Cocoa event model described in Cocoa Event-Handling Guide as well as the graphics drawing environment described in Cocoa Drawing Guide.

Organization of This Document

View Programming Guide for Cocoa consists of the following chapters:

See Also

There are other technologies, not fully covered in this document, that are fundamental to using views in your application. Refer to these documents for more details:

There is also sample code available that provides detailed examples of view usage. The following sample code is installed in /Developer/Examples/Appkit:

Additional sample code is available through Apple Developer Connection:



Next Page > Hide TOC


© 2008 Apple Inc. All Rights Reserved. (Last updated: 2008-04-10)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.