Jump To:
Leopard Reference Library: Cocoa
Cocoa provides classes for custom drawing based on Quartz graphics, and utility functions for common graphics tasks such as copying and drawing bitmap data. To go beyond what Cocoa provides, developers can use the graphics and imaging frameworks in Mac OS X. Cocoa applications have access to a wide variety of graphics technologies including Quartz 2D, Quartz Services, OpenGL, QuickTime, and the Mac OS X printing system.

View all Graphics & Imaging Reference Library.
Document Descriptions
On Off
Display

Sort by
Title
Sort by
Resource Type
Sorted by
Date
How to measure CG text (HTML)
QA1051: Explains how to measure Core Graphics text.
Technical Q&As 2007-08-02
CAAction Protocol Reference (HTML) (PDF)
Describes the interface for receiving actions initiated by a layer.
Reference 2007-07-24
CABasicAnimation Class Reference (HTML) (PDF)
Describes the basic interpolation of a layer property.
Reference 2007-07-24
CAConstraint Class Reference (HTML) (PDF)
Describes a single geometric constraint between two layers.
Reference 2007-07-24
CAKeyframeAnimation Class Reference (HTML) (PDF)
Describes an animation that provides keyframe interpolation of a layer property.
Reference 2007-07-24
CALayoutManager Protocol Reference (HTML) (PDF)
Describes the interface for receiving requests to arrange a layout tree.
Reference 2007-07-24
CAPropertyAnimation Class Reference (HTML) (PDF)
Describes the interface for manipulating values of layer properties.
Reference 2007-07-24
CAScrollLayer Class Reference (HTML) (PDF)
Describes a layer that displays a scrollable portion of another layer.
Reference 2007-07-24
CATiledLayer Class Reference (HTML) (PDF)
Describes a layer that draws tiles of content as needed.
Reference 2007-07-24
CATransaction Class Reference (HTML) (PDF)
Describes a batch of Core Animation updates that are applied to a render tree atomically.
Reference 2007-07-24
CIFilter Core Animation Additions (HTML) (PDF)
Describes the category that extends Core Image filters for use with Layer Kit.
Reference 2007-07-24
Core Animation Function Reference (HTML) (PDF)
Describes the C functions that support Core Animation.
Reference 2007-07-24
NSValue Core Animation Additions (HTML) (PDF)
Describes extensions to Foundation's NSValue class that support the Core Animation LKTransform structure.
Reference 2007-07-24
CGBitmapContextCreate Supported Color Spaces (HTML)
QA1037: Lists the color space and alpha info combinations currently supported by CGBitmapContextCreate.
Technical Q&As 2007-07-18
IKImageBrowserDataSource Protocol Reference (HTML) (PDF)
Describes the informal protocol used to access the data source associated with an image browser view.
Reference 2007-07-17
Quartz Composer User Guide (HTML) (PDF)
Explains how to use the Quartz Composer development tool to create motion graphics compositions.
Guides 2007-07-17
QCPlugInInputImageSource Protocol Reference (HTML) (PDF)
Describes the methods for managing image data that's input to a QCPlugIn object.
Reference 2007-07-12
vImage Reference Collection (HTML) (PDF)
Describes the C programming interface for high-performance image processing.
Reference 2007-07-12
Image I/O Programming Guide (HTML) (PDF)
Explains how to read and write image data using the Image I/O framework.
Guides 2007-07-02
QCComposition Class Reference (HTML) (PDF)
Describes the class that represents a Quartz Composer composition.
Reference 2007-06-26
Quartz 2D Transformer (HTML) (DMG) (ZIP)
Shows how to use Quartz 2D to manipulate an image
Sample Code 2007-06-21
LayerBackedOpenGLView (HTML) (DMG) (ZIP)
"LayerBackedOpenGLView" provides a simple example of hosting Cocoa controls as subviews of an NSOpenGLView.
Sample Code 2007-06-12
BasicCocoaAnimations (HTML) (DMG) (ZIP)
"BasicCocoaAnimations" demonstrates the use of the animator proxy to easily animate Cocoa views and windows.
Sample Code 2007-06-11
QuartzComposerSamplePatches (HTML) (DMG) (ZIP)
A short list of new patches in Quartz Composer Mac OS X 10.5
Sample Code 2007-06-11
CIImage Additions Reference (HTML) (PDF)
Describes additions for manipulating Cocoa images.
Reference 2007-06-08
Core Animation Release Notes (HTML)
Describes features, issues, and workarounds related to Mac OS X v10.5 and its support of Core Animation.
Release Notes 2007-05-31
Image Capture Applications Programming Guide (HTML) (PDF)
Describes the interaction between applications programs and image capture devices such as cameras and scanners.
Guides 2007-05-16
VideoHardwareInfo (HTML) (DMG) (ZIP)
Query VRAM, Quartz Extreme support, OpenGL extensions and renderer, GLSL version and support.
Sample Code 2007-05-14
Using UTIs to Identify Image Files (HTML)
QA1518: Explains how to use Uniform Type Identifiers to identify what files can be opened at images.
Technical Q&As 2007-05-11
QCCompositionParameterView Class Reference (HTML) (PDF)
Describes the class used to edit the input parameters of a composition in a view.
Reference 2007-05-09
QCCompositionParameterViewDelegate Protocol Reference (HTML) (PDF)
Describes the protocol for responding to changes in a QCCompositionParameterView object.
Reference 2007-05-09
QCCompositionPickerPanel Class Reference (HTML) (PDF)
Describes the class used to display a utility window for browsing and selecting a composition.
Reference 2007-05-09
QCCompositionPickerView Class Reference (HTML) (PDF)
Describes the class used to display a view for browsing and selecting a composition.
Reference 2007-05-09
QCCompositionPickerViewDelegate Protocol Reference (HTML) (PDF)
Describes the protocol for responding to changes in a QCCompositionPickerView object.
Reference 2007-05-09
QCCompositionRepository Class Reference (HTML) (PDF)
Describes the class that represents a system-wide, central repository of Quartz Composer compositions.
Reference 2007-05-09
QCPlugInContext Protocol Reference (HTML) (PDF)
Describes the protocol used by execution contexts.
Reference 2007-05-09
QCPlugInOutputImageProvider Protocol Reference (HTML) (PDF)
Describes the methods for managing image data that's produced as output from a QCPlugIn object.
Reference 2007-05-09
QCPlugInViewController Class Reference (HTML) (PDF)
Describes the class that provides a controller object for a user interface to edit the settings for a QCPlugIn object.
Reference 2007-05-09
QCRenderer Class Reference (HTML) (PDF)
Describes the class used to load, play, and control a Quartz Composer composition to an arbitrary OpenGL context.
Reference 2007-05-09
QCView Class Reference (HTML) (PDF)
Describes the class used to load, play, and control a Quartz Composer composition to a custom NSView object.
Reference 2007-05-09
Resolution Independence Guidelines (HTML) (PDF)
Describes resolution independence and how to start updating applications to support high-resolution monitors.
Guides 2007-05-04
NSViewController Class Reference (HTML) (PDF)
Describes the manager of a view, usually a view stored in a nib file.
Reference 2007-05-02
NSColorPickingDefault Protocol Reference (HTML) (PDF)
Describes the interface for receiving basic color-picker user-interface requests.
Reference 2007-04-27
NSAlert Class Reference (HTML) (PDF)
Describes a window that displays a message and obtains the user's response to it.
Reference 2007-04-25
PictureTaker (HTML) (DMG) (ZIP)
Demonstrates the PictureTaker in a basic Cocoa application
Sample Code 2007-04-02
NSColorPickingCustom Protocol Reference (HTML) (PDF)
Describes the interface for receiving custom color-picker user-interface requests.
Reference 2007-04-01
CIContext Class Reference (HTML) (PDF)
Describes the class that provides an evaluation context for rendering a Core Image image through Quartz 2D or OpenGL.
Reference 2007-03-16
ImageBrowser (HTML) (DMG) (ZIP)
Demonstrates the ImageKit's IKImageBrowserView to browse images in a basic Cocoa application.
Sample Code 2007-03-13
NSBezierPath Class Reference (HTML) (PDF)
Describes a vector-based path consisting of line and curve segments.
Reference 2007-03-02
NSGraphicsContext Class Reference (HTML) (PDF)
Describes a destination for drawing operations.
Reference 2007-03-01
Grady (HTML) (DMG) (ZIP)
Demonstrates how to use the NSGradient class.
Sample Code 2007-02-28
NSAffineTransform Additions Reference (HTML) (PDF)
Describes additions to support affine transformations.
Reference 2007-02-28
NSColorList Class Reference (HTML) (PDF)
Describes an ordered list of colors identified by keys.
Reference 2007-02-28
NSColorPanel Class Reference (HTML) (PDF)
Describes the standard panel used for color selection.
Reference 2007-02-28
NSColorPicker Class Reference (HTML) (PDF)
Describes the interface for custom views in a color panel used for color selection.
Reference 2007-02-28
NSColorSpace Class Reference (HTML) (PDF)
Describes a representation of a system or custom color space.
Reference 2007-02-28
NSColorWell Class Reference (HTML) (PDF)
Describes a control for displaying and selecting colors.
Reference 2007-02-28
NSOpenGLPixelBuffer Class Reference (HTML) (PDF)
Describes an OpenGL pixel buffer.
Reference 2007-01-31
NSQuickDrawView Class Reference (HTML) (PDF)
Describes a deprecated technology replaced by Quartz.
Reference 2007-01-30
NSOpenGLView Class Reference (HTML) (PDF)
Describes a view for OpenGL drawing.
Reference 2007-01-26
NSPDFImageRep Class Reference (HTML) (PDF)
Describes an object that draws an image from PDF data.
Reference 2007-01-26
NSPICTImageRep Class Reference (HTML) (PDF)
Describes an object that draws an image from PICT data.
Reference 2007-01-26
Quartz Composer Reference Collection (HTML) (PDF)
Describes the Objective-C API that supports loading, playing, and controlling compositions.
Reference 2007-01-25
NSEPSImageRep Class Reference (HTML) (PDF)
Describes an object that draws an image from encapsulated PostScript data.
Reference 2007-01-22
Working Around Incorrect -needsToDrawRect: Behavior in Custom View Classes (HTML)
TN2107: Describes how to work around a bug in NSView's -needsToDrawRect: method.
Technical Notes 2007-01-22
NSCustomImageRep Class Reference (HTML) (PDF)
Describes an object that supports drawing an image using a custom data format.
Reference 2007-01-19
NSAffineTransform Class Reference (HTML) (PDF)
Describes an affine transformation from one coordinate space to another.
Reference 2007-01-15
NSCachedImageRep Class Reference (HTML) (PDF)
Describes cached image data that is ready to be rendered.
Reference 2007-01-15
NSCIImageRep Class Reference (HTML) (PDF)
Describes an object that draws an image from a Core Image CIImage instance.
Reference 2007-01-15
IKImageBrowserItem Protocol Reference (HTML) (PDF)
Describes the informal protocol used by an image browser view to access the data source for an item.
Reference 2007-01-12
CIImageAccumulator Class Reference (HTML) (PDF)
Describes the class that enables feedback-based image processing.
Reference 2007-01-05
IKImageBrowserView Class Reference (HTML) (PDF)
Describes the class that can display and browse a large amount of images and movies in an efficient manner.
Reference 2006-12-13
CIFilterShape Class Reference (HTML) (PDF)
Describes the class that defines the bounding shape of a filter and the domain of definition of a filter operation.
Reference 2006-12-07
CIPlugInRegistration Protocol Reference (HTML) (PDF)
Describes the protocol used to load Core Image image units.
Reference 2006-12-07
CISampler Class Reference (HTML) (PDF)
Describes the class that retrieves samples of images that are then processed by a Core Image kernel.
Reference 2006-12-07
CIVector Class Reference (HTML) (PDF)
Describes the class used to pass parameter values to Core Image filters.
Reference 2006-12-07
IKFilterCustomUIProvider Protocol Reference (HTML) (PDF)
Descibes the protocol that defines a method for providing a view for a filter.
Reference 2006-12-07
IKImageBrowserDelegate Protocol Reference (HTML) (PDF)
Describes the informal protocol for the delegate of an image browser view.
Reference 2006-12-07
CIFilter Image Kit Additions (HTML) (PDF)
Describes the category that extends Core Image filters for use with Image Kit.
Reference 2006-12-06
IKFilterBrowserView Class Reference (HTML) (PDF)
Describes the class that supports browsing Core Image filters.
Reference 2006-12-06
IKFilterUIView Class Reference (HTML) (PDF)
Describes the class that provides a user interface for Core Image filters.
Reference 2006-12-06
IKImageEditPanel Class Reference (HTML) (PDF)
Describes the class that provides a panel optimized for image editing.
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.
Reference 2006-12-06
IKSaveOptions Class Reference (HTML) (PDF)
Describes the class that initializes, adds, and manages user interface options for saving image data.
Reference 2006-12-06
Image Kit Reference Collection (HTML) (PDF)
Describes the Objective-C API for providing a user interface for images, image editing, and image processing.
Reference 2006-12-06
CIColor Class Reference (HTML) (PDF)
Describes the class used to manage color values and color spaces for Core Image filters.
Reference 2006-12-05
CIFilterGenerator Class Reference (HTML) (PDF)
Describes the class that supports chaining together image processing filters.
Reference 2006-12-05
CIImageProvider Protocol Reference (HTML) (PDF)
Describes the informal protocol used to supply bitmap data for creating or initializing a Core Image image.
Reference 2006-12-05
CIKernel Class Reference (HTML) (PDF)
Describes the class that operates on individual pixels using a kernel routine.
Reference 2006-12-05
CIPlugIn Class Reference (HTML) (PDF)
Describes the class that is responsible for loading image units.
Reference 2006-12-05
Core Image Reference Collection (HTML) (PDF)
Describes the Objective-C API for using and creating filters for image processing.
Reference 2006-12-05
MyCustomColorPicker (HTML) (DMG) (ZIP)
Shows how to write a custom color picker using Cocoa.
Sample Code 2006-10-09
CarbonQuartzComposer_TV (HTML) (DMG) (ZIP)
Demonstrates how to integrate Cocoa based QuartzComposer window into a Carbon based application
Sample Code 2006-10-02
ImageBackground (HTML) (DMG) (ZIP)
Shows how to draw an image in the background of an NSOutlineView and NSTableView.
Sample Code 2006-10-02
Quartz2DBasics (HTML) (DMG) (ZIP)
Carbon and Cocoa sample code demonstrating some basic usage of the Quartz 2D API
Sample Code 2006-09-11
QCFundamentals (HTML) (DMG) (ZIP)
Demonstrates Coordinate, Interpolation, and Iterative systems in Quartz Composer with an amusing animation
Sample Code 2006-08-07
QCGalaxy (HTML) (DMG) (ZIP)
Demonstrates use of Particle Systems and Core Image Filters in Quartz Composer
Sample Code 2006-08-07
LiveVideoMixer3 (HTML) (DMG) (ZIP)
LiveVideoMixer3 is extended to support Video In via QTKit
Sample Code 2006-08-01
PDF Annotation Editor (HTML) (DMG) (ZIP)
Demonstrates how to use PDF Kit to examine, edit, and create PDF annotations.
Sample Code 2006-07-31
PDF Calendar (HTML) (DMG) (ZIP)
Demonstrates how to use PDF Kit to create PDF content.
Sample Code 2006-07-31