AppKit

Crowd-sourced documentation and tutorials by the Cocoa developer community
Jump to: navigation, search


The AppKit is a set of classes, first developed by NeXT Computer, and now by AppleComputer, for rapidly developing applications. The majority of AppKit classes deal with user interface elements, such as windows, buttons, and menus. InterfaceBuilder lets you work with many of these classes visually.

The AppKit builds upon FoundationKit, and thus requires it to function.

Note that the AppKit classes are generally _not_ thread safe.



Note: Please don't go to the trouble of copying Apple's complete docs for each and every class - that's more than we need. :)

You might want to link to the corresponding page on the AppleComputer developer site and add some sample code and gotchas that can't be found there. (Plus: Fill in that "Description forthcoming. :) ) ListOfClassesWithDescriptionForthcoming


Note: Cocoa is available to both Objective-C and Java. Documentation for classes is available for each language except where noted by a (Java) or (ObjC).



Contents

AppKit Macros:

IBAction
IBOutlet

AppKit Classes:

NSActionCell
NSAffineTransform
NSAlert
NSAlertPanel (Java)
NSAppleScriptAdditions
NSApplication
NSAttributedStringAdditions (ObjC)
NSBezierPath
NSBitmapImageRep
NSBox
NSBrowser
NSBrowserCell
NSBundleAdditions (ObjC)
NSButton
NSButtonCell
NSCachedImageRep
NSCell
NSClipView
NSCoderAdditions (ObjC)
NSCollectionView
NSColor
NSColorList
NSColorPanel http://www.spielautomatentrick.com/
NSColorPicker
NSColorWell
NSComboBox
NSComboBoxCell
NSControl
NSController
NSCursor http://www.novolinetricks.biz
NSCustomImageRep http://www.allroulettesystems.com
NSDPSContext (Java)
NSDocument
NSDocumentController
NSDragDestination (Java)
NSDrawer
NSEPSImageRep
NSEvent
NSFileWrapper
NSFont
NSFontManager
NSFontPanel
NSForm
NSFormCell
NSGraphics (Java)
NSGraphicsContext
NSHelpManager
NSImage
NSImageCell
NSImageRep
NSImageView
NSInputManager
NSInputServer
NSInterfaceStyle (Java)
NSLayoutManager
NSMatrix
NSMenu
NSMenuItem
NSMenuItemCell
NSMenuView
NSModalSession (Java)
NSMovie
NSMovieView
NSMutableAttributedStringAdditions (ObjC)
NSMutableParagraphStyle
NSNib
NSNibConnector (ObjC)
NSNibControlConnector (ObjC)
NSNibOutletConnector (ObjC)
NSOpenGLContext (ObjC)
NSOpenGLPixelFormat (ObjC)
NSOpenGLView (ObjC)
NSOpenPanel
NSOutlineView
NSPDFImageRep
NSPICTImageRep
NSPageLayout
NSPanel
NSParagraphStyle
NSPasteboard
NSPopUpButton
NSPopUpButtonCell
NSPrintInfo http://www.bookofratrick.com
NSPrintOperation
NSPrintPanel
NSPrinter
NSProgressIndicator
NSPureApplication
NSQuickDrawView (ObjC)
NSResponder http://americanpoker2.biz
NSRulerMarker 
NSRulerView
NSSavePanel
NSScreen
NSScrollView
NSScroller
NSSearchFieldCell
NSSearchFieldControl
NSSecureTextField
NSSecureTextFieldCell
NSSegmentedCell
NSSegmentedControl
NSShadow http://www.novolinetricks.biz
NSSimpleHorizontalTypesetter (ObjC)
NSSlider
NSSliderCell
NSSound
NSSpeechSynthesizer
NSSpeechRecognizer
NSSpellChecker
NSSplitView
NSStatusBar
NSStatusItem
NSStepper
NSStringAdditions (ObjC)
NSTabView
NSTabViewItem
NSTableColumn
NSTableHeaderCell
NSTableHeaderView
NSTableView
NSText
NSTextAttachment
NSTextAttachmentCell
NSTextContainer
NSTextField
NSTextFieldCell
NSTextStorage
NSTextTab
NSTextView
NSToolbar
NSToolbarPoofAnimator
NSTypesetter (ObjC)
NSURLAdditions (ObjC)
NSView
NSWindow
NSWindowController
NSWorkspace

AppKit Protocols:(ObjC)

NSApplicationScriptingDelegation
NSChangeSpelling
NSColorPickingCustom
NSColorPickingDefault
NSComboBoxCellDataSource
NSComboBoxDataSource
NSDraggingDestination
NSDraggingInfo
NSDraggingSource
NSIgnoreMisspelledWords
NSInputServerMouseTracker
NSInputServiceProvider
NSMenuItem
NSMenuValidation
NSNibAwaking
NSOutlineViewDataSource
NSServicesRequests
NSTableDataSource
NSTextAttachmentCell
NSTextInput
NSTextSuite
NSToolTipOwner
NSUserInterfaceValidations
NSValidatedUserInterfaceItem
NSWindowScripting

AppKit Interfaces: (Java)

NSCellForTextAttachment
NSChangeSpelling
NSColorPickingCustom
NSColorPickingDefault
NSComboBoxDotDataSource (NSComboBox.DataSource)
NSComboBoxCellDotDataSource (NSComboBoxCell.DataSource)
NSDraggingDestination
NSDraggingInfo
NSDraggingSource
NSIgnoreMisspelledWords
NSInputServerMouseTracker
NSInputServiceProvider
NSKeyBindingResponder
NSMenuDotMenuValidation (NSMenu.MenuValidation)
NSOutlineViewDotDataSource (NSOutlineView.DataSource)
NSTableViewDotDataSource (NSTableView.DataSource)
NSTextInput
NSObsoleteMenuItemProtocol (_NSObsoleteMenuItemProtocol)

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox