Create bookmark
Cocoa in a Nutshell
A Desktop Quick Reference
Notes
Please login to add notes
- Table of Contents
-
+
Preface
- I
-
+
Objective-C
- + Foundation
-
+
The Application Kit
-
+
Drawing and Imaging
-
+
Text Handling
-
+
Networking
-
+
Interapplication Communication
-
+
Other Frameworks
- II
- + How to Use This Quick Reference
-
+
Foundation Types and Constants
-
+
Data Types
- NSCalculationError
- NSComparisonResult
- NSDecimal
- NSHashEnumerator
- NSHashTable
- NSHashTableCallBacks
- NSInsertionPosition
- NSMapEnumerator
- NSMapTable
- NSMapTableKeyCallBacks
- NSMapTableValueCallBacks
- NSNetServicesError
- NSNotificationCoalescing
- NSNotificationSuspensionBehavior
- NSObjCValue
- NSPoint
- NSPointArray
- NSPointPointer
- NSPostingStyle
- NSPropertyListFormat
- NSPropertyListMutabilityOptions
- NSRange
- NSRangePointer
- NSRect
- NSRectArray
- NSRectEdge
- NSRectPointer
- NSRelativePosition
- NSRoundingMode
- NSSaveOptions
- NSSearchPathDirectory
- NSSearchPathDomainMask
- NSSize
- NSSizeArray
- NSSizePointer
- NSStringEncoding
- NSSwappedDouble
- NSSwappedFloat
- NSTestComparisonOperation
- NSTimeInterval
- NSUncaughtExceptionHandler
- NSURLHandleStatus
- NSWhoseSubelementIdentifier
- NSZone
- + Enumerations
-
+
Global Variables
- File Attribute Keys
- Filesystem Attribute Keys
- File Type Attribute Keys
- Language-Dependent Date/Time Information
- Language-Dependent Numeric Information
- NSAppleEvent Timeouts
- NSConnectionReplyMode
- NSDefaultRunLoopMode
- NSJavaSetup Information
- NSHashTable Callbacks
- NSLocalNotificationCenterType
- NSMapTable Key Call Backs
- NSMapTable Value Callbacks
- NSNetServices Errors
- NSURL Schemes
- NSURLHandle FTP Property Keys
- NSURLHandle HTTP Property Keys
- NSUserDefaults Domains
- Zero Constants
- + Constants
- + Exceptions
-
+
Data Types
- + Foundation Functions
-
+
Application Kit Types and Constants
-
+
Data Types
- NSAffineTransformStruct
- NSApplicationTerminateReply
- NSBackingStoreType
- NSBezelStyle
- NSBezierPathElement
- NSBitmapImageFileType
- NSBorderType
- NSBoxType
- NSButtonType
- NSCellAttribute
- NSCellImagePosition
- NSCellState
- NSCellType
- NSCharacterCollection
- NSCompositingOperation
- NSControlSize
- NSControlTint
- NSDocumentChangeType
- NSDragOperation
- NSDrawerState
- NSEventType
- NSFocusRingPlacement
- NSFontAction
- NSFontTraitMask
- NSGlyph
- NSGlyphInscription
- NSGlyphLayoutMode
- NSGlyphRelation
- NSGradientType
- NSImageAlignment
- NSImageCacheMode
- NSImageFrameStyle
- NSImageInterpolation
- NSImageLoadStatus
- NSImageRepLoadStatus
- NSImageScaling
- NSInterfaceStyle
- NSLayoutDirection
- NSLayoutStatus
- NSLineBreakMode
- NSLineCapStyle
- NSLineJoinStyle
- NSLineMovementDirection
- NSLineSweepDirection
- NSMatrixMode
- NSModalSession
- NSMultibyteGlyphPacking
- NSOpenGLContextAuxiliary
- NSOpenGLContextParameter
- NSOpenGLGlobalOption
- NSOpenGLPixelFormatAttribute
- NSOpenGLPixelFormatAuxiliary
- NSPopUpArrowPosition
- NSPrinterTableStatus
- NSPrintingOrientation
- NSPrintingPageOrder
- NSPrintingPaginationMode
- NSProgressIndicatorStyle
- NSProgressIndicatorThickness
- NSQTMovieLoopMode
- NSRequestUserAttentionType
- NSRulerOrientation
- NSSaveOperationType
- NSScreenAuxiliaryOpaque
- NSScrollArrowPosition
- NSScrollerArrow
- NSScrollerPart
- NSSelectionAffinity
- NSSelectionDirection
- NSSelectionGranularity
- NSTableViewDropOperation
- NSTabState
- NSTabViewItemAuxiliaryOpaque
- NSTabViewType
- NSTextAlignment
- NSTextFieldBezelStyle
- NSTextTabType
- NSTickMarkPosition
- NSTIFFCompression
- NSTitlePosition
- NSToolbarDisplayMode
- NSToolbarSizeMode
- NSToolTipTag
- NSTrackingRectTag
- NSTypesetterBehavior
- NSTypesetterGlyphInfo
- NSUsableScrollerParts
- NSWindingRule
- NSWindowAuxiliaryOpaque
- NSWindowButton
- NSWindowDepth
- NSWindowOrderingMode
- NSWritingDirection
-
+
Enumerations
- NSApplication (Modal Session Return Values)
- NSAttributedString (Underlining)
- NSCell (Data Entry Types)
- NSCell (State Masks)
- NSColorPanel (Modes)
- NSColorPanel (Mode Masks)
- NSDragging (Operations)
- NSEvent (Action Flags)
- NSEvent (Function Key Unicodes)
- NSEvent (Modifier Flags)
- NSEvent (Types Defined by the Application Kit)
- NSEvent (Types Defined by the System)
- NSFont (Traits)
- NSGraphics (Alpha Values)
- NSGlyph (Reserved Glyph Codes)
- NSImageRep (Display Device Matching)
- NSOutlineView (Drop on Index)
- NSPanel (Alert Panel Return Values)
- NSPanel (Modal Panel Return Values)
- NSPanel (Style Mask)
- NSRunLoop (Ordering Modes for NSApplication)
- NSRunLoop (Ordering Modes for NSWindow)
- NSSavePanel (Tags for Subviews)
- NSText (Important Unicodes)
- NSText (Movement Codes)
- NSTextAttachment (Attachment Character)
- NSTextStorage (Editing)
- NSView (Resizing)
- NSWindow (Border Masks)
-
+
Global Variables
- Color Space Names
- Display Device (Descriptions)
- NSAccessibility (Actions)
- NSAccessibility (Attributes)
- NSAccessibility (Exception Error Code Key)
- NSAccessibility (Notifications)
- NSAccessibility (Orientations)
- NSAccessibility (Roles)
- NSAccessibility (Subroles)
- NSApplication (Shared Application Object)
- NSAttributedString (Attributes)
- NSAttributedString (Character Shape Attribute)
- NSAttributedString (Document Type)
- NSAttributedString (Glyph Info Attribute)
- NSAttributedString (Underline Masks)
- NSBitmapImageRep (Attributes)
- NSColor (Grayscale Values)
- NSFont (Keys to the AFM Dictionary)
- NSFont (PostScript Transformation Matrix)
- NSGraphicsContext (Attributes)
- NSInterfaceStyleDefault
- NSPasteboard (Names)
- NSPasteboard (Types for Sound Data)
- NSPasteboard (Types for Standard Data)
- NSPrintInfo (Dictionary Keys)
- NSPrintPanel (Job Style Hints)
- NSRunLoop (Modes)
- NSToolbarItem (Standard Identifiers)
- NSWindow (Sizes)
- NSWindow (Window Levels)
- NSWorkspace (File Operation Constants)
- NSWorkspace (File Types)
- Exceptions
-
+
Data Types
- + Application Kit Functions
-
+
Foundation Classes
- NSAppleEventDescriptor
- NSAppleEventManager
- NSAppleScript
- NSArchiver
- NSArray
- NSAssertionHandler
- NSAttributedString
- NSAutoreleasePool
- NSBundle
- NSCalendarDate
- NSCharacterSet
- NSClassDescription
- NSCloneCommand
- NSCloseCommand
- NSCoder
- NSConditionLock
- NSConnection
- NSCountCommand
- NSCountedSet
- NSCreateCommand
- NSData
- NSDate
- NSDateFormatter
- NSDecimalNumber
- NSDecimalNumberHandler
- NSDeleteCommand
- NSDeserializer
- NSDictionary
- NSDirectoryEnumerator
- NSDistantObject
- NSDistantObjectRequest
- NSDistributedLock
- NSDistributedNotificationCenter
- NSEnumerator
- NSException
- NSExistsCommand
- NSFileHandle
- NSFileManager
- NSFormatter
- NSGetCommand
- NSHost
- NSIndexSpecifier
- NSInvocation
- NSKeyedArchiver
- NSKeyedUnarchiver
- NSLock
- NSLogicalTest
- NSMachBootstrapServer
- NSMachPort
- NSMessagePort
- NSMessagePortNameServer
- NSMethodSignature
- NSMiddleSpecifier
- NSMoveCommand
- NSMutableArray
- NSMutableAttributedString
- NSMutableCharacterSet
- NSMutableData
- NSMutableDictionary
- NSMutableSet
- NSMutableString
- NSNameSpecifier
- NSNetService
- NSNetServiceBrowser
- NSNotification
- NSNotificationCenter
- NSNotificationQueue
- NSNull
- NSNumber
- NSNumberFormatter
- NSObject
- NSPipe
- NSPort
- NSPortCoder
- NSPortMessage
- NSPortNameServer
- NSPositionalSpecifier
- NSProcessInfo
- NSPropertyListSerialization
- NSPropertySpecifier
- NSProtocolChecker
- NSProxy
- NSQuitCommand
- NSRandomSpecifier
- NSRangeSpecifier
- NSRecursiveLock
- NSRelativeSpecifier
- NSRunLoop
- NSScanner
- NSScriptClassDescription
- NSScriptCoercionHandler
- NSScriptCommand
- NSScriptCommandDescription
- NSScriptExecutionContext
- NSScriptObjectSpecifier
- NSScriptSuiteRegistry
- NSScriptWhoseTest
- NSSerializer
- NSSet
- NSSetCommand
- NSSocketPort
- NSSocketPortNameServer
- NSSpecifierTest
- NSSpellServer
- NSString
- NSTask
- NSThread
- NSTimer
- NSTimeZone
- NSUnarchiver
- NSUndoManager
- NSUniqueIDSpecifier
- NSURL
- NSURLHandle
- NSUserDefaults
- NSValue
- NSWhoseSpecifier
- + Foundation Protocols
-
+
Application Kit Classes
- NSActionCell
- NSAffineTransform
- NSApplication
- NSBezierPath
- NSBitmapImageRep
- NSBox
- NSBrowser
- NSBrowserCell
- NSButton
- NSButtonCell
- NSCachedImageRep
- NSCell
- NSClipView
- NSColor
- NSColorList
- NSColorPanel
- NSColorPicker
- NSColorWell
- NSComboBox
- NSComboBoxCell
- NSControl
- NSCursor
- NSCustomImageRep
- NSDocument
- NSDocumentController
- NSDrawer
- NSEPSImageRep
- NSEvent
- NSFileWrapper
- NSFont
- NSFontManager
- NSFontPanel
- NSForm
- NSFormCell
- NSGlyphInfo
- NSGraphicsContext
- NSHelpManager
- NSImage
- NSImageCell
- NSImageRep
- NSImageView
- NSInputManager
- NSInputServer
- NSLayoutManager
- NSMatrix
- NSMenu
- NSMenuItem
- NSMenuItemCell
- NSMenuView
- NSMovie
- NSMovieView
- NSMutableParagraphStyle
- NSNibConnector
- NSNibControlConnector
- NSNibOutletConnector
- NSOpenGLContext
- NSOpenGLPixelFormat
- NSOpenGLView
- NSOpenPanel
- NSOutlineView
- NSPageLayout
- NSPanel
- NSParagraphStyle
- NSPasteboard
- NSPDFImageRep
- NSPICTImageRep
- NSPopUpButton
- NSPopUpButtonCell
- NSPrinter
- NSPrintInfo
- NSPrintOperation
- NSPrintPanel
- NSProgressIndicator
- NSQuickDrawView
- NSResponder
- NSRulerMarker
- NSRulerView
- NSSavePanel
- NSScreen
- NSScroller
- NSScrollView
- NSSecureTextField
- NSSecureTextFieldCell
- NSSimpleHorizontalTypesetter
- NSSlider
- NSSliderCell
- NSSound
- NSSpellChecker
- NSSplitView
- NSStatusBar
- NSStatusItem
- NSStepper
- NSStepperCell
- NSTableColumn
- NSTableHeaderCell
- NSTableHeaderView
- NSTableView
- NSTabView
- NSTabViewItem
- NSText
- NSTextAttachment
- NSTextAttachmentCell
- NSTextContainer
- NSTextField
- NSTextFieldCell
- NSTextStorage
- NSTextTab
- NSTextView
- NSToolbar
- NSToolbarItem
- NSTypesetter
- NSView
- NSWindow
- NSWindowController
- NSWorkspace
-
+
Application Kit Protocols
- NSAccessibility
- NSChangeSpelling
- NSColorPickingCustom
- NSColorPickingDefault
- NSComboBoxCellDataSource
- NSComboBoxDataSource
- NSDraggingDestination
- NSDraggingInfo
- NSDraggingSource
- NSIgnoreMisspelledWords
- NSInputServerMouseTracker
- NSInputServiceProvider
- NSMenuItem
- NSMenuValidation
- NSNibAwaking
- NSOutlineViewDataSource
- NSServicesRequests
- NSTableDataSource
- NSTextAttachmentCell
- NSTextInput
- NSTextStorageScripting
- NSToolbarItemValidation
- NSToolTipOwner
- NSUserInterfaceValidations
- NSValidatedUserInterfaceItem
- NSWindowScripting
- Method Index
- III
- + Appendix: ResourcesforCocoaDevelopers
- Index
Cocoa® is more than just a collection of classes, and is certainly more than a simple framework. Cocoa is a complete API set, class library, framework, and development environment for building applications and tools to run on Mac OS® X. With over 240 classes, Cocoa is divided into two essential frameworks: Foundation and Application Kit. Above all else, Cocoa is a toolkit for creating Mac OS X application interfaces, and it provides access to all of the standard Aqua® interface components such as menus, toolbars, windows, buttons, to name a few. >
_Cocoa in a Nutshell_ begins with a complete overview of Cocoa's object classes. It provides developers who may be experienced with other application toolkits the grounding they'll need to start developing Cocoa applications. Common programming tasks are described, and many chapters focus on the larger patterns in the frameworks so developers can understand the larger relationships between the classes in Cocoa, which is essential to using the framework effectively. >
_Cocoa in a Nutshell_ is divided into two parts, with the first part providing a series of overview chapters that describe specific features of the Cocoa frameworks. Information you'll find in Part I includes: * An overview of the Objective-C language * Coverage of the Foundation and Application Kit frameworks * Overviews of Cocoa's drawing and text handling classes * Network services such as hosts, Rendezvous URL services, sockets, and file handling * Distributed notifications and distributed objects for interapplication communication * Extending Cocoa applications with other frameworks, including the AddressBook, DiscRecording, and Messaging frameworks The second half of the book is a detailed quick reference to Cocoa's Foundation and Application Kit (AppKit) classes. A complement to Apple's documentation, _Cocoa in a Nutshell_ is the only reference to the classes, functions, types, constants, protocols, and methods that make up Cocoa's Foundation and Application Kit frameworks, based on the Jaguar release (Mac OS X 10.2). >
Peer-reviewed and approved by Apple's engineers to be part of the Apple Developer Connection (ADC) Series, _Cocoa in a Nutshell_ is the book developers will want close at hand as they work. It's the desktop quick reference they can keep by their side to look something up quickly without leaving their work. >
_Cocoa in a Nutshell_ is the book developers will want close at hand as they work. It's the desktop quick reference they can keep by their side to look something up quickly without leaving their work.
Test the closed alpha on paperc.com
Book Details
Authors
Michael Beam and James Davidson
Categories
Computers > Programming > General
Publishers
Publication year : 2010
License: All rights reserved ©
Times read: 848

