Jump To:
Leopard Reference Library
Cocoa is an object-oriented application environment designed for developing Mac OS X native applications. The Cocoa frameworks support rapid development and high productivity. Cocoa provides developers starting new Mac OS X projects the fastest way to full-featured implementations. Applications from other platforms can also be brought to Mac OS X quickly using Cocoa.

A guided introduction and learning path for developers new to Cocoa.   Essential information for developers using Objective-C.   Objective-C API references organized by framework.
Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Topic
Sort by
Resource Type
Sort by
Date
FunkyOverlayWindow (HTML) (DMG) (ZIP)
Demonstrates several window layering, transparency and widget interaction techniques in Cocoa.
Graphics & Imaging Sample Code 2003-05-08
GeekGameBoard (HTML) (DMG) (ZIP)
Shows how to use Core Animation for the user interface of a board or card game.
Graphics & Imaging Sample Code 2007-12-19
Getting images in and out from Quartz Composer compositions (HTML)
TN2143: Describes how to efficiently pass images into and out of Quartz Composer
Graphics & Imaging Technical Notes 2005-10-04
Getting the pixel data from a CGImage object (HTML)
QA1509: Describes how to access the pixel data of a CGImage object
Graphics & Imaging Technical Q&As 2008-08-27
GLChildWindowDemo (HTML) (DMG) (ZIP)
Shows using Cocoa's child windows and Quartz Extreme to provide 2D/3D overlays above 3D content.
Graphics & Imaging Sample Code 2003-04-21
GLSLShowpiece (HTML) (DMG) (ZIP)
GLSLShowpiece demonstrates several Vertex and Fragment shaders
Graphics & Imaging Sample Code 2006-07-17
Grady (HTML) (DMG) (ZIP)
Demonstrates how to use the NSGradient class.
Graphics & Imaging Sample Code 2007-02-28
How can I optimize a Quartz Composer composition depending on the hardware it runs on? (HTML)
QA1433: Explains how to design compositions that adapt to the hardware limitations.
Graphics & Imaging Technical Q&As 2005-06-01
How can I programmatically determine the DPI of the current video mode? (HTML) (日本語 HTML)
QA1217: Describes how to compute the DPI for a given display in a given mode using Core Graphics.
Graphics & Imaging Technical Q&As 2002-12-02
How do I determine how much VRAM is available on my video card? (HTML)
QA1168: Using Core Graphics and IOKit to find the physical size of VRAM on installed hardware.
Graphics & Imaging Technical Q&As 2004-10-11
How do I get the hexadecimal value of an NSColor object? (HTML)
QA1576: Describes how to convert an NSColor object to its Hexadecimal value.
Graphics & Imaging Technical Q&As 2007-12-19
How do I tell if a particular display is being hardware accelerated by Quartz Extreme? (HTML) (日本語 HTML)
QA1218: Describes how to use CGDisplayUsesOpenGLAcceleration to see if a display is accelerated or not.
Graphics & Imaging Technical Q&As 2002-12-04
How to measure CG text (HTML)
QA1051: Explains how to measure Core Graphics text.
Graphics & Imaging Technical Q&As 2007-08-02
IKFilterBrowserPanel Class Reference (HTML) (PDF)
Describes the class that provides the panel contained in a filter browser.
Graphics & Imaging Reference 2007-10-31
IKFilterBrowserView Class Reference (HTML) (PDF)
Describes the class that supports browsing Core Image filters.
Graphics & Imaging Reference 2006-12-06
IKFilterCustomUIProvider Protocol Reference (HTML) (PDF)
Descibes the protocol that defines a method for providing a view for a filter.
Graphics & Imaging Reference 2006-12-07
IKFilterUIView Class Reference (HTML) (PDF)
Describes the class that provides a user interface for Core Image filters.
Graphics & Imaging Reference 2006-12-06
IKImageBrowserDataSource Protocol Reference (HTML) (PDF)
Describes the informal protocol used to access the data source associated with an image browser view.
Graphics & Imaging Reference 2007-07-17
IKImageBrowserDelegate Protocol Reference (HTML) (PDF)
Describes the informal protocol for the delegate of an image browser view.
Graphics & Imaging Reference 2006-12-07
IKImageBrowserItem Protocol Reference (HTML) (PDF)
Describes the informal protocol used by an image browser view to access the data source for an item.
Graphics & Imaging Reference 2007-01-12
IKImageBrowserView Class Reference (HTML) (PDF)
Describes the class that can display and browse a large amount of images and movies in an efficient manner.
Graphics & Imaging Reference 2006-12-13
IKImageEditPanel Class Reference (HTML) (PDF)
Describes the class that provides a panel optimized for image editing.
Graphics & Imaging Reference 2006-12-06
IKImageEditPanelDataSource Protocol Reference (HTML) (PDF)
Describes the mthods than an image edit panel object uses to access the contents of its data source object.
Graphics & Imaging Reference 2006-12-06
IKImageView Class Reference (HTML) (PDF)
Describes the class used to display images efficiently at the same time it supports image editing.
Graphics & Imaging Reference 2008-04-08
IKPictureTaker Class Reference (HTML) (PDF)
Descibes the class that provides a panel for choosing images.
Graphics & Imaging Reference 2007-10-31
IKSaveOptions Class Reference (HTML) (PDF)
Describes the class that initializes, adds, and manages user interface options for saving image data.
Graphics & Imaging Reference 2006-12-06
IKSlideshow Class Reference (HTML) (PDF)
Describes the class that encapsulates a data source and options for a slideshow.
Graphics & Imaging Reference 2007-10-31
IKSlideshowDataSource Protocol Reference (HTML) (PDF)
Describes the methods that a slideshow object uses to access the contents of its data source object.
Graphics & Imaging Reference 2009-03-04
Image Capture Applications Programming Guide (HTML) (PDF)
Describes the interaction between applications programs and image capture devices such as cameras and scanners.
Graphics & Imaging Guides 2007-05-16
Image Difference (HTML) (DMG) (ZIP)
Demonstrates a way to use Quartz's compositing capability to find the difference between two images.
Graphics & Imaging Sample Code 2003-01-30
Image I/O Programming Guide (HTML) (PDF)
Explains how to read and write image data using the Image I/O framework.
Graphics & Imaging Guides 2007-07-02
Image Kit Programming Guide (HTML) (PDF)
Explains how to support browsing, viewing, editing, and processing images.
Graphics & Imaging Guides 2008-06-09
Image Kit Reference Collection (HTML) (PDF)
Describes the Objective-C API for providing a user interface for images, image editing, and image processing.
Graphics & Imaging Reference 2006-12-06
Image Kit with Core Data (HTML) (DMG) (ZIP)
Using Image Kit's browser view with Core Data content.
Graphics & Imaging Sample Code 2008-07-25
Image Unit Tutorial (HTML) (PDF)
Describes how to write image processing kernels and package them for distribution.
Graphics & Imaging Guides 2009-05-06
Image Views (HTML) (PDF)
Explains how to use Cocoa image views.
Graphics & Imaging Guides 2002-11-12
ImageBackground (HTML) (DMG) (ZIP)
Shows how to draw an image in the background of an NSOutlineView and NSTableView.
Graphics & Imaging Sample Code 2006-10-02
ImageBrowser (HTML) (DMG) (ZIP)
Demonstrates the ImageKit's IKImageBrowserView to browse images in a basic Cocoa application.
Graphics & Imaging Sample Code 2007-03-13
Is ColorSync thread safe? (HTML) (日本語 HTML)
QA1261: Discusses ColorSync thread-safety issues.
Graphics & Imaging Technical Q&As 2003-04-17
LayerBackedOpenGLView (HTML) (DMG) (ZIP)
"LayerBackedOpenGLView" provides a simple example of hosting Cocoa controls as subviews of an NSOpenGLView.
Graphics & Imaging Sample Code 2007-06-12
Leopard Technology Series for Developers: Graphics & Media Overview (HTML)
Describes Leopard's graphics and media capabilities.
Graphics & Imaging Articles 2007-12-11
Link Snoop (HTML) (DMG) (ZIP)
Shows how to use PDFKit to scan for and highlight link annotations in PDFs.
Graphics & Imaging Sample Code 2005-06-01
LiveVideoMixer3 (HTML) (DMG) (ZIP)
LiveVideoMixer3 is extended to support Video In via QTKit
Graphics & Imaging Sample Code 2006-08-01
Making the most of Cocoa bindings in Quartz Composer (HTML)
TN2146: Describes how to best use Cocoa bindings with Quartz Composer.
Graphics & Imaging Technical Notes 2006-03-03
MassiveImage (HTML) (DMG) (ZIP)
Shows how to use a CGDataProvider to save a very large image with Image IO
Graphics & Imaging Sample Code 2007-09-27
Monochrome Image (HTML) (DMG) (ZIP)
Applies the NTSC color weighting formula to an image to generate a monochrome version of the image.
Graphics & Imaging Sample Code 2003-07-16
MyCustomColorPicker (HTML) (DMG) (ZIP)
Shows how to write a custom color picker using Cocoa.
Graphics & Imaging Sample Code 2006-10-09
NSAffineTransform Additions Reference (HTML) (PDF)
Describes additions to support affine transformations.
Graphics & Imaging Reference 2007-02-28
NSAffineTransform Class Reference (HTML) (PDF)
Describes an affine transformation from one coordinate space to another.
Graphics & Imaging Reference 2007-01-15
NSAlert Class Reference (HTML) (PDF)
Describes a window that displays a message and obtains the user's response to it.
Graphics & Imaging Reference 2007-04-25
NSAnimatablePropertyContainer Protocol Reference (HTML) (PDF)
Describes the interface for an animatable proxy for views and windows.
Graphics & Imaging Reference 2009-05-06
NSAnimation Class Reference (HTML) (PDF)
Describes the behavior of an animation.
Graphics & Imaging Reference 2007-10-31
NSAnimationContext Class Reference (HTML) (PDF)
Describes nested transaction support for animating views.
Graphics & Imaging Reference 2008-02-08
NSBezierPath Class Reference (HTML) (PDF)
Describes a vector-based path consisting of line and curve segments.
Graphics & Imaging Reference 2007-03-02
NSBitmapImageRep Class Reference (HTML) (PDF)
Describes an object that draws an image from bitmap data.
Graphics & Imaging Reference 2009-01-06
NSBox Class Reference (HTML) (PDF)
Describes a view that can display its border and a title.
Graphics & Imaging Reference 2008-10-15
NSCachedImageRep Class Reference (HTML) (PDF)
Describes cached image data that is ready to be rendered.
Graphics & Imaging Reference 2007-01-15
NSCIImageRep Class Reference (HTML) (PDF)
Describes an object that draws an image from a Core Image CIImage instance.
Graphics & Imaging Reference 2007-01-15
NSClipView Class Objective-C Reference (HTML) (PDF)
Describes the class that contains and scrolls the document view of a scroll view.
Graphics & Imaging Reference 2006-05-23
NSColor Class Reference (HTML) (PDF)
Describes a representation of color and opacity.
Graphics & Imaging Reference 2009-01-06
NSColorList Class Reference (HTML) (PDF)
Describes an ordered list of colors identified by keys.
Graphics & Imaging Reference 2007-02-28
NSColorPanel Class Reference (HTML) (PDF)
Describes the standard panel used for color selection.
Graphics & Imaging Reference 2007-02-28
NSColorPicker Class Reference (HTML) (PDF)
Describes the interface for custom views in a color panel used for color selection.
Graphics & Imaging Reference 2007-02-28
NSColorPickingCustom Protocol Reference (HTML) (PDF)
Describes the interface for receiving custom color-picker user-interface requests.
Graphics & Imaging Reference 2007-04-01
NSColorPickingDefault Protocol Reference (HTML) (PDF)
Describes the interface for receiving basic color-picker user-interface requests.
Graphics & Imaging Reference 2007-04-27
NSColorSpace Class Reference (HTML) (PDF)
Describes a representation of a system or custom color space.
Graphics & Imaging Reference 2007-02-28
NSColorWell Class Reference (HTML) (PDF)
Describes a control for displaying and selecting colors.
Graphics & Imaging Reference 2007-02-28
NSCustomImageRep Class Reference (HTML) (PDF)
Describes an object that supports drawing an image using a custom data format.
Graphics & Imaging Reference 2007-01-19
NSEPSImageRep Class Reference (HTML) (PDF)
Describes an object that draws an image from encapsulated PostScript data.
Graphics & Imaging Reference 2007-01-22
NSGLImage (HTML) (DMG) (ZIP)
Deprecated - Demonstrates how to texture in OpenGL with an NSImage and/or NSBitmapImageRep
Graphics & Imaging Sample Code 2004-12-01
NSGradient Class Reference (HTML) (PDF)
Describes a color gradient to use when drawing.
Graphics & Imaging Reference 2009-01-06
NSGraphicsContext Class Reference (HTML) (PDF)
Describes a destination for drawing operations.
Graphics & Imaging Reference 2007-03-01
NSImage Class Reference (HTML) (PDF)
Describes a graphical image that includes facilities for drawing and compositing.
Graphics & Imaging Reference 2009-01-06
NSImageRep Class Reference (HTML) (PDF)
Describes the interface for managing and drawing image data.
Graphics & Imaging Reference 2009-01-06
NSOpenGL Fullscreen (HTML) (DMG) (ZIP)
Demonstrates how to create and switch between windowed and fullscreen OpenGL contexts using NSOpenGL.
Graphics & Imaging Sample Code 2004-02-11
NSOpenGLContext Class Reference (HTML) (PDF)
Describes a target for OpenGL commands.
Graphics & Imaging Reference 2008-06-09
NSOpenGLPixelBuffer Class Reference (HTML) (PDF)
Describes an OpenGL pixel buffer.
Graphics & Imaging Reference 2007-01-31
NSOpenGLPixelFormat Class Reference (HTML) (PDF)
Describes a pixel format for OpenGL rendering.
Graphics & Imaging Reference 2008-10-15
NSOpenGLView Class Reference (HTML) (PDF)
Describes a view for OpenGL drawing.
Graphics & Imaging Reference 2007-01-26
NSOpenGLView redraw problems after a window is closed and re-opened. (HTML)
QA1353: Workaround for NSOpenGLView failure to draw after its window is closed and re-opened.
Graphics & Imaging Technical Q&As 2004-12-03
NSPanel Class Reference (HTML) (PDF)
Describes a window for performing auxiliary functions in an application.
Graphics & Imaging Reference 2009-01-06
NSPDFImageRep Class Reference (HTML) (PDF)
Describes an object that draws an image from PDF data.
Graphics & Imaging Reference 2007-01-26
NSPICTImageRep Class Reference (HTML) (PDF)
Describes an object that draws an image from PICT data.
Graphics & Imaging Reference 2007-01-26
NSQuickDrawView Class Reference (HTML) (PDF)
Describes a deprecated technology replaced by Quartz.
Graphics & Imaging Reference 2007-01-30
NSScreen Class Reference (HTML) (PDF)
Describes a representation of a screen (computer monitor).
Graphics & Imaging Reference 2009-01-06
NSScrollView Class Reference (HTML) (PDF)
Describes a view for displaying content larger than its bounds.
Graphics & Imaging Reference 2006-05-23
NSShadow Class Reference (HTML) (PDF)
Describes a drop shadow for a drawing operation.
Graphics & Imaging Reference 2009-02-04
NSValue Core Animation Additions (HTML) (PDF)
Describes extensions to Foundation's NSValue class that support the Core Animation LKTransform structure.
Graphics & Imaging Reference 2007-07-24
NSView Class Reference (HTML) (PDF)
Describes the interface for drawing, event handling, and printing in views.
Graphics & Imaging Reference 2009-02-04
NSViewAnimation Class Reference (HTML) (PDF)
Describes an animation in a view or window.
Graphics & Imaging Reference 2006-05-23
NSViewController Class Reference (HTML) (PDF)
Describes the manager of a view, usually a view stored in a nib file.
Graphics & Imaging Reference 2007-05-02
NSWindow Class Reference (HTML) (PDF)
Describes a window.
Graphics & Imaging Reference 2009-03-04
OpenGL Filter Basics Cocoa (HTML) (DMG) (ZIP)
How to use Objective-C and MVC design patterns in installing and utilizing filters in an OpenGL rendering pipeline
Graphics & Imaging Sample Code 2008-02-06
OpenGL Release Highlights - Mac OS X 10.3 Panther (HTML)
TN2131: Contains a list of bugs along with a short description on a release-by-release basis
Graphics & Imaging Technical Notes 2005-02-04
OpenGL Screensaver (HTML) (DMG) (ZIP)
Demonstrates how to integrate OpenGL drawing into a standard Cocoa screen saver on Mac OS X.
Graphics & Imaging Sample Code 2003-12-10
OpenGLCompositorLab (HTML) (DMG) (ZIP)
Demonstrates using OpenGL to composite multiple sources in hardware. Requires NVIDIA GeForce 4 Ti hardware.
Graphics & Imaging Sample Code 2003-04-21
PDF Annotation Editor (HTML) (DMG) (ZIP)
Demonstrates how to use PDF Kit to examine, edit, and create PDF annotations.
Graphics & Imaging Sample Code 2006-07-31
PDF Calendar (HTML) (DMG) (ZIP)
Demonstrates how to use PDF Kit to create PDF content.
Graphics & Imaging Sample Code 2006-07-31
PDF Kit Programming Guide (HTML) (PDF)
Introduces basic PDF concepts and describes how to use PDF Kit to display PDF documents in your application.
Graphics & Imaging Guides 2007-12-11
PDF Kit Reference Collection (HTML) (PDF)
Describes the Objective-C API for viewing, navigating, and editing PDF content.
Graphics & Imaging Reference 2007-12-11