Jump To:
Leopard Reference Library: Cocoa
User experience encompasses the visual appearance, interactive behavior, and assistive capabilities of software. From an application's graphical user interface to its use of additional technologies such as speech recognition and speech synthesis, a cohesive and professional user experience is what Mac users have come to expect. Cocoa provides a complete suite of Interface Builder palettes and programmatic interfaces that developers can use to deliver this experience in their applications.

View all User Experience Reference Library.
Document Descriptions
On Off
Display

Sort by
Title
Sort by
Resource Type
Sorted by
Date
NSSegmentedCell Class Reference (HTML) (PDF)
Describes an action cell that provides appearance and behavior for an NSSegmentedControl object.
Reference 2009-05-06
NSSegmentedControl Class Reference (HTML) (PDF)
Describes a horizontal button divided into multiple segments
Reference 2009-05-06
Search Kit Reference (HTML) (PDF)
Describes the interface for supporting user searches of textual content.
Reference 2009-05-06
NSButtonCell Class Reference (HTML) (PDF)
Describes a cell that responds to mouse clicks.
Reference 2009-04-08
NSScroller Class Reference (HTML) (PDF)
Describes a control for scrolling a document view within a scroll view.
Reference 2009-04-08
NSSplitView Class Reference (HTML) (PDF)
Describes a container for subviews with a user-controlled portion of each visible.
Reference 2009-04-08
NSUserDefaults Class Reference (HTML) (PDF)
Describes an object for managing preference information.
Reference 2009-04-08
WebArchive Class Reference (HTML) (PDF)
Describes the class for archiving a web page and all of its related resources.
Reference 2009-04-08
WebEditingDelegate Protocol Reference (HTML) (PDF)
Describes the protocol adopted by WebView objects to change the view's default editing behavior.
Reference 2009-04-08
WebFrame Class Reference (HTML) (PDF)
Describes the class for encapsulating the data displayed within a WebFrameView object.
Reference 2009-04-08
WebFrameLoadDelegate Protocol Reference (HTML) (PDF)
Describes the protocol adopted by WebView frame load delegates to be notified while frame loads are in progress.
Reference 2009-04-08
WebJavaPlugIn Protocol Reference (HTML) (PDF)
Describes the protocol for running Java applets from within a WebView.
Reference 2009-04-08
WebOpenPanelResultListener Protocol Reference (HTML) (PDF)
Describes the protocol adopted by WebView delegates to communicate with an Open dialog.
Reference 2009-04-08
WebPlugIn Protocol Reference (HTML) (PDF)
Describes the protocol adopted by an application using the Web Kit and any Web Kit-based plug-ins.
Reference 2009-04-08
WebPlugInContainer Protocol Reference (HTML) (PDF)
Describes the protocol that enables a plug-in to send messages to an application.
Reference 2009-04-08
WebPlugInViewFactory Protocol Reference (HTML) (PDF)
Describes the protocol used to create an NSView object for a plug-in.
Reference 2009-04-08
WebPolicyDelegate Protocol Reference (HTML) (PDF)
Describes the protocol used to modify the policy decisions that are made when handling URLs or the data they represent.
Reference 2009-04-08
WebResource Class Reference (HTML) (PDF)
Describes the class for downloaded data and its related properties, such as its URL and MIME type.
Reference 2009-04-08
WebScripting Protocol Reference (HTML) (PDF)
Describes the protocol that defines methods that classes can implement to expose their interfaces to a WebScript environment.
Reference 2009-04-08
WebScriptObject Class Reference (HTML) (PDF)
Describes the class for bridging a web view's scripting environment and the Objective-C runtime.
Reference 2009-04-08
WebView Class Reference (HTML) (PDF)
Describes the class for embedding web content in a window.
Reference 2009-04-08
Cocoa Bindings Programming Topics (HTML) (PDF)
Explains how to rapidly develop sophisticated user interfaces using Cocoa binding technology.
Guides 2009-03-08
Dock Tile Programming Guide (HTML) (PDF)
Explains how to provide an icon and contextual menu in Carbon applications.
Guides 2009-03-04
NSDockTile Class Reference (HTML) (PDF)
Describes the interface for customizing an application's dock tiles
Reference 2009-03-04
NSWindow Class Reference (HTML) (PDF)
Describes a window.
Reference 2009-03-04
WebDocumentText Protocol Reference (HTML) (PDF)
Describes the protocol adopted by document view objects to support working with text.
Reference 2009-03-04
WebFrameView Class Reference (HTML) (PDF)
Describes the class for displaying the actual web content contained in a frame.
Reference 2009-03-04
WebHistory Class Reference (HTML) (PDF)
Describes the class for maintaining a set of pages visited by users.
Reference 2009-03-04
WebPolicyDecisionListener Protocol Reference (HTML) (PDF)
Describes the protocol for handling download decisions asynchronously.
Reference 2009-03-04
WebUIDelegate Protocol Reference (HTML) (PDF)
Describes the protocol used to control user interface-related aspects, such as opening windows and augmenting default menus.
Reference 2009-03-04
Dialogs and Special Panels (HTML) (PDF)
Explains how to create alert panels. Includes links to documents about other types of panels.
Guides 2009-02-04
DOMNode Additions Reference (HTML) (PDF)
Describes the API added to the DOMNode class to facilitate communication between WebKit and the DOM API.
Reference 2009-02-04
NSCell Class Reference (HTML) (PDF)
Describes the interface for cell objects.
Reference 2009-02-04
NSHelpManager Class Reference (HTML) (PDF)
Describes an application-level help system.
Reference 2009-02-04
NSMenuView Class Reference (HTML) (PDF)
Describes a deprecated class replaced by the NSMenu class.
Reference 2009-02-04
NSOpenPanel Class Reference (HTML) (PDF)
Describes the panel that a user employs to locate and open a file.
Reference 2009-02-04
NSOutlineView Class Reference (HTML) (PDF)
Describes a row-and-column format view for displaying hierarchical data.
Reference 2009-02-04
NSSavePanel Class Reference (HTML) (PDF)
Describes the panel that a user employs to set a file-system location and save a file.
Reference 2009-02-04
Toolbar Programming Topics for Cocoa (HTML) (PDF)
Explains how to use Cocoa toolbars.
Guides 2009-02-04
WebBackForwardList Class Reference (HTML) (PDF)
Describes the class for tracking a list of visited pages with relation to the most recent page.
Reference 2009-02-04
Window Programming Guide for Cocoa (HTML) (PDF)
Explains how to use Cocoa windows and panels.
Guides 2009-02-04
DOMHTMLDocument Additions Reference (HTML) (PDF)
Describes the API added to the DOMHTMLDocument class to facilitate communication between WebKit and the DOM API.
Reference 2009-01-26
NSCursor Class Reference (HTML) (PDF)
Describes the appearance of the user interface cursor.
Reference 2009-01-06
NSImageCell Class Reference (HTML) (PDF)
Describes an object that displays an image in a frame, usually in a control.
Reference 2009-01-06
NSPanel Class Reference (HTML) (PDF)
Describes a window for performing auxiliary functions in an application.
Reference 2009-01-06
NSSpeechSynthesizer Class Reference (HTML) (PDF)
Describes the Cocoa parser that converts text to speech.
Reference 2009-01-06
NSTextField Class Reference (HTML) (PDF)
Describes a control that displays editable text.
Reference 2009-01-06
NSTextFieldCell Class Reference (HTML) (PDF)
Describes the user interface of a text field.
Reference 2009-01-06
Application Kit Framework Reference (HTML) (PDF)
Describes the interface for all things related to an application's user interface.
Reference 2008-11-19
NSDateFormatter Class Reference (HTML) (PDF)
Describes a date formatter.
Reference 2008-11-19
NSNumberFormatter Class Reference (HTML) (PDF)
Describes a number formatter.
Reference 2008-11-19
Button Programming Topics for Cocoa (HTML) (PDF)
Explains how to use Cocoa buttons.
Guides 2008-10-15
Control and Cell Programming Topics for Cocoa (HTML) (PDF)
Explains the relationship between Cocoa control and cell objects.
Guides 2008-10-15
DOMDocument Additions Reference (HTML) (PDF)
Describes the API added to the DOMDocument class to facilitate communication between WebKit and the DOM API.
Reference 2008-10-15
DOMElement Additions Reference (HTML)
Describes the API added to the DOMElement class to facilitate communication between WebKit and the DOM API.
Reference 2008-10-15
DOMRange Additions Reference (HTML) (PDF)
Describes the API added to the DOMRange class to facilitate communication between WebKit and the DOM API.
Reference 2008-10-15
NSBox Class Reference (HTML) (PDF)
Describes a view that can display its border and a title.
Reference 2008-10-15
NSControl Class Reference (HTML) (PDF)
Describes the interface for views that respond to user actions by sending action messages.
Reference 2008-10-15
NSMatrix Class Reference (HTML) (PDF)
Describes a group of cell objects that work together in various ways.
Reference 2008-10-15
NSPasteboard Class Reference (HTML) (PDF)
Describes a pasteboard.
Reference 2008-10-15
NSPopUpButton Class Reference (HTML) (PDF)
Describes a control for displaying pull-down or pop-up lists of items.
Reference 2008-10-15
NSPopUpButtonCell Class Reference (HTML) (PDF)
Describes a cell used in the display of pull-down or pop-up menus.
Reference 2008-10-15
NSPredicateEditor Class Reference (HTML) (PDF)
Describes a graphical predicate editor.
Reference 2008-10-15
NSTokenField Class Reference (HTML) (PDF)
Describes a text field that provides tokenized editing.
Reference 2008-10-15
NSToolbar Class Reference (HTML) (PDF)
Describes a toolbar in a window's title bar.
Reference 2008-10-15
WebDataSource Class Reference (HTML) (PDF)
Describes the class for encapsulating web content for display in a web frame view.
Reference 2008-10-15
WebDocumentView Protocol Reference (HTML) (PDF)
Describes the protocol adopted by document view objects to display data of different MIME types.
Reference 2008-10-15
WebDownload Class Reference (HTML) (PDF)
Describes the class for providing an authentication sheet before a download begins.
Reference 2008-10-15
WebHistoryItem Class Reference (HTML) (PDF)
Describes the class for encapsulating information about a visited page.
Reference 2008-10-15
WebKit Constants Reference (HTML) (PDF)
Describes the types and constants found in the WebKit framework.
Reference 2008-10-15
WebKit Objective-C Framework Reference (HTML) (PDF)
Describes the Objective-C API used to display web content in windows.
Reference 2008-10-15
WebKit Objective-C Programming Guide (HTML) (PDF)
Explains how to use the WebKit to embed web content in both Cocoa and Carbon applications.
Guides 2008-10-15
WebPreferences Class Reference (HTML) (PDF)
Describes the class for the preferences you can change per WebView object, such as font, text encoding, and image settings.
Reference 2008-10-15
Squiggles (HTML) (DMG) (ZIP)
Demonstrates many Cocoa fundamentals in a Document-based Application featuring custom drawing and event-handling.
Sample Code 2008-08-29
Requirements for Quartz GL (HTML)
QA1536: Describes the requirements for enabling Quartz GL.
Technical Q&As 2008-08-08
Image Kit with Core Data (HTML) (DMG) (ZIP)
Using Image Kit's browser view with Core Data content.
Sample Code 2008-07-25
WebResourceLoadDelegate Protocol Reference (HTML) (PDF)
Describes the protocol used to be notified on the progress of loading individual resources.
Reference 2008-06-19
Apple Human Interface Guidelines (HTML) (PDF)
Introduces the Mac OS X user experience and explains how to design an application for Aqua.
Guides 2008-06-09
NSDatePicker Class Reference (HTML) (PDF)
Describes a control for displaying and editing a date.
Reference 2008-06-09
NSDatePickerCell Class Reference (HTML) (PDF)
Describes a cell for displaying and editing a date.
Reference 2008-06-09
SpotlightFortunes (HTML) (DMG) (ZIP)
Demonstrates how to provision a Spotlight importer plug-in for a custom UTI, and how to use a NSMetadataQuery with bindings to display live query results in a table view.
Sample Code 2008-06-06
Disc Recording UI Framework Reference (HTML)
Describes the Objective-C and C API for presenting a user interface when burning audio and data CDs and DVDs.
Reference 2008-04-08
AbstractTree (HTML) (DMG) (ZIP)
Using NSTreeController with NSOutlineView, Bindings, and Core Data.
Sample Code 2008-03-17
Cursor Management (HTML) (PDF)
Explains how to set the cursor and handle cursor-update events in Cocoa applications.
Guides 2008-03-11
NSProgressIndicator Class Reference (HTML) (PDF)
Describes a control that shows that a lengthy task is under way.
Reference 2008-03-11
NSSearchFieldCell Class Reference (HTML) (PDF)
Describes a search field cell.
Reference 2008-03-11
Suppressing the "unexpectedly quit" alert (HTML)
QA1288: Describes how to suppress the "unexpectedly quit" alert.
Technical Q&As 2008-03-11
CarbonCocoaTempConverter (HTML) (DMG) (ZIP)
Demonstrates how to integrate Carbon and Cocoa user interfaces in the same Cocoa application.
Sample Code 2008-03-10
PhotoSearch (HTML) (DMG) (ZIP)
Demonstrates advanced controls and cells. Custom drawing, hit testing, tracking, editing, expansion tooltips, tracking areas.
Sample Code 2008-03-05
Disabling text completion in an NSTextField (HTML)
QA1553: Shows how to implement a delegate method provided by NSControl to disable automatic text completion.
Technical Q&As 2008-02-27
NSDate - Natural language date parsing in early Leopard releases (HTML)
QA1581: Acknowledges a regression in +dateWithNaturalLanguageString: behavior of NSDate which is fixed as of 10.5.2.
Technical Q&As 2008-02-27
NSLocale Class Reference (HTML) (PDF)
Describes a locale.
Reference 2008-02-08
NSMenu Class Reference (HTML) (PDF)
Describes an application menu.
Reference 2008-02-08
NSMenuItem Class Reference (HTML) (PDF)
Describes a menu item.
Reference 2008-02-08
NSRuleEditor Class Reference (HTML) (PDF)
Describes a graphical rule editor.
Reference 2008-02-08
Quick Look Programming Guide (HTML) (PDF)
Describes the purporse and architecture of Quick Look generators and explains how to create them.
Guides 2008-02-08
Re-enabling dragging from NSTableView to other applications (HTML) (日本語 HTML)
QA1220: Explains how to re-enable drag-and-drop from NSTableViews to other applications
Technical Q&As 2008-02-08
Search Fields (HTML) (PDF)
Explains how to use Cocoa search fields.
Guides 2008-02-08
Connecting the Font Menu in Interface Builder 3 (HTML)
QA1571: How to connect and configure the Font/Format menus in Interface Builder 3.
Technical Q&As 2008-01-21
Enabling the application menu's "Preferences" menu item on Mac OS X (HTML)
QA1552: Describes the two things you need to implement to enable the "Preferences" menu item on Mac OS X.
Technical Q&As 2008-01-21