Application Kit Framework Reference

Introduction

The Application Kit is a framework containing all the objects you need to implement your graphical, event-driven user interface: windows, panels, buttons, menus, scrollers, and text fields. The Application Kit handles all the details for you as it efficiently draws on the screen, communicates with hardware devices and screen buffers, clears areas of the screen before drawing, and clips views. The number of classes in the Application Kit may seem daunting at first. However, most Application Kit classes are support classes that you use indirectly. You also have the choice at which level you use the Application Kit:

  • Use Interface Builder to create connections from user interface objects to your application objects. In this case, all you need to do is implement your application classes—implement those action and delegate methods. For example, implement the method that is invoked when the user selects a menu item.

  • Control the user interface programmatically, which requires more familiarity with Application Kit classes and protocols. For example, allowing the user to drag an icon from one window to another requires some programming and familiarity with the NSDragging... protocols.

  • Implement your own objects by subclassing NSView or other classes. When subclassing NSView you write your own drawing methods using graphics functions. Subclassing requires a deeper understanding of how the Application Kit works.

To learn more about the Application Kit, review the NSApplication, NSWindow, and NSView class specifications, paying close attention to delegate methods. For a deeper understanding of how the Application Kit works, see the specifications for NSResponder and NSRunLoop (NSRunLoop is in the Foundation framework).

[More]

Framework
/System/Library/Frameworks/AppKit.framework
Header file directories
/System/Library/Frameworks/AppKit.framework/Headers
Companion guides

    Class References
  1. CIColor Additions
  2. CIImage Additions
  3. NSActionCell
  4. NSAffineTransform Additions
  5. NSAlert
  6. NSAnimation
  7. NSAnimationContext
  8. NSAppleScript Application Kit Additions
  9. NSApplication
  10. NSArrayController
  11. NSATSTypesetter
  12. NSAttributedString Application Kit Additions
  13. NSBezierPath
  14. NSBitmapImageRep
  15. NSBox
  16. NSBrowser
  17. NSBrowserCell
  18. NSBundle Additions
  19. NSButton
  20. NSButtonCell
  21. NSCachedImageRep
  22. NSCell
  23. NSCIImageRep
  24. NSClipView
  25. NSCoder Application Kit Additions
  26. NSCollectionView
  27. NSCollectionViewItem
  28. NSColor
  29. NSColorList
  30. NSColorPanel
  31. NSColorPicker
  32. NSColorSpace
  33. NSColorWell
  34. NSComboBox
  35. NSComboBoxCell
  36. NSControl
  37. NSController
  38. NSCursor
  39. NSCustomImageRep
  40. NSDatePicker
  41. NSDatePickerCell
  42. NSDictionaryController
  43. NSDockTile
  44. NSDocument
  45. NSDocumentController
  46. NSDraggingImageComponent
  47. NSDraggingItem
  48. NSDraggingSession
  49. NSDrawer
  50. NSEPSImageRep
  51. NSEvent
  52. NSFileWrapper AppKit Additions
  53. NSFont
  54. NSFontCollection
  55. NSFontDescriptor
  56. NSFontManager
  57. NSFontPanel
  58. NSForm
  59. NSFormCell
  60. NSGlyphGenerator
  61. NSGlyphInfo
  62. NSGradient
  63. NSGraphicsContext
  64. NSHelpManager
  65. NSImage
  66. NSImageCell
  67. NSImageRep
  68. NSImageView
  69. NSLayoutManager
  70. NSLevelIndicator
  71. NSLevelIndicatorCell
  72. NSMatrix
  73. NSMenu
  74. NSMenuItem
  75. NSMenuItemCell
  76. NSMenuView
  77. NSMutableAttributedString Additions
  78. NSMutableFontCollection
  79. NSMutableParagraphStyle
  80. NSNib
  81. NSNibConnector
  82. NSNibControlConnector
  83. NSNibOutletConnector
  84. NSObjectController
  85. NSOpenGLContext
  86. NSOpenGLLayer
  87. NSOpenGLPixelBuffer
  88. NSOpenGLPixelFormat
  89. NSOpenGLView
  90. NSOpenPanel
  91. NSOutlineView
  92. NSPageController
  93. NSPageLayout
  94. NSPanel
  95. NSParagraphStyle
  96. NSPasteboard
  97. NSPasteboardItem
  98. NSPathCell
  99. NSPathComponentCell
  100. NSPathControl
  101. NSPDFImageRep
  102. NSPersistentDocument
  103. NSPICTImageRep
  104. NSPopover
  105. NSPopUpButton
  106. NSPopUpButtonCell
  107. NSPredicateEditor
  108. NSPredicateEditorRowTemplate
  109. NSPrinter
  110. NSPrintInfo
  111. NSPrintOperation
  112. NSPrintPanel
  113. NSProgressIndicator
  114. NSResponder
  115. NSRuleEditor
  116. NSRulerMarker
  117. NSRulerView
  118. NSRunningApplication
  119. NSSavePanel
  120. NSScreen
  121. NSScroller
  122. NSScrollView
  123. NSSearchField
  124. NSSearchFieldCell
  125. NSSecureTextField
  126. NSSecureTextFieldCell
  127. NSSegmentedCell
  128. NSSegmentedControl
  129. NSShadow
  130. NSSharingService
  131. NSSharingServicePicker
  132. NSSlider
  133. NSSliderCell
  134. NSSound
  135. NSSpeechRecognizer
  136. NSSpeechSynthesizer
  137. NSSpellChecker
  138. NSSplitView
  139. NSStatusBar
  140. NSStatusItem
  141. NSStepper
  142. NSStepperCell
  143. NSString Application Kit Additions
  144. NSTableCellView
  145. NSTableColumn
  146. NSTableHeaderCell
  147. NSTableHeaderView
  148. NSTableRowView
  149. NSTableView
  150. NSTabView
  151. NSTabViewItem
  152. NSText
  153. NSTextAttachment
  154. NSTextAttachmentCell
  155. NSTextBlock
  156. NSTextContainer
  157. NSTextField
  158. NSTextFieldCell
  159. NSTextFinder
  160. NSTextInputContext
  161. NSTextList
  162. NSTextStorage
  163. NSTextTab
  164. NSTextTable
  165. NSTextTableBlock
  166. NSTextView
  167. NSTokenField
  168. NSTokenFieldCell
  169. NSToolbar
  170. NSToolbarItem
  171. NSToolbarItemGroup
  172. NSTouch
  173. NSTrackingArea
  174. NSTreeController
  175. NSTreeNode
  176. NSTypesetter
  177. NSURL Additions
  178. NSUserDefaultsController
  179. NSView
  180. NSViewAnimation
  181. NSViewController
  182. NSWindow
  183. NSWindowController
  184. NSWorkspace
    Protocol References
  1. NSAccessibility
  2. NSAlertDelegate
  3. NSAnimatablePropertyContainer
  4. NSAnimationDelegate
  5. NSApplicationDelegate
  6. NSBrowserDelegate
  7. NSChangeSpelling
  8. NSCollectionViewDelegate
  9. NSColorPickingCustom
  10. NSColorPickingDefault
  11. NSComboBoxCellDataSource
  12. NSComboBoxDataSource
  13. NSComboBoxDelegate
  14. NSControlTextEditingDelegate
  15. NSDatePickerCellDelegate
  16. NSDictionaryControllerKeyValuePair
  17. NSDockTilePlugIn
  18. NSDraggingDestination
  19. NSDraggingInfo
  20. NSDraggingSource
  21. NSDrawerDelegate
  22. NSEditor
  23. NSEditorRegistration
  24. NSFontPanelValidation
  25. NSGlyphStorage
  26. NSIgnoreMisspelledWords
  27. NSImageDelegate
  28. NSKeyValueBindingCreation
  29. NSLayoutManagerDelegate
  30. NSMatrixDelegate
  31. NSMenuDelegate
  32. NSMenuValidation
  33. NSNibAwaking
  34. NSOpenSavePanelDelegate
  35. NSOutlineViewDataSource
  36. NSOutlineViewDelegate
  37. NSPageControllerDelegate
  38. NSPasteboardItemDataProvider
  39. NSPasteboardReading
  40. NSPasteboardWriting
  41. NSPathCellDelegate
  42. NSPathControlDelegate
  43. NSPlaceholders
  44. NSPopoverDelegate
  45. NSPrintPanelAccessorizing
  46. NSRuleEditorDelegate
  47. NSServicesRequests
  48. NSSharingServiceDelegate
  49. NSSharingServicePickerDelegate
  50. NSSoundDelegate
  51. NSSpeechRecognizerDelegate
  52. NSSpeechSynthesizerDelegate
  53. NSSplitViewDelegate
  54. NSTableViewDataSource
  55. NSTableViewDelegate
  56. NSTabViewDelegate
  57. NSTextAttachmentCell
  58. NSTextDelegate
  59. NSTextFieldDelegate
  60. NSTextFinderBarContainer
  61. NSTextFinderClient
  62. NSTextInput
  63. NSTextInputClient
  64. NSTextLayoutOrientationProvider
  65. NSTextViewDelegate
  66. NSTokenFieldCellDelegate
  67. NSTokenFieldDelegate
  68. NSToolbarDelegate
  69. NSToolbarItemValidation
  70. NSToolTipOwner
  71. NSUserInterfaceItemIdentification
  72. NSUserInterfaceItemSearchDataSource
  73. NSUserInterfaceItemSearching
  74. NSUserInterfaceValidations
  75. NSValidatedUserInterfaceItem
  76. NSWindowDelegate
  77. NSWindowRestoration
  78. NSWindowScripting


Did this document help you? Yes It's good, but... Not helpful...