O'Reilly logo

Cocoa® Programming for Mac® OS X, Fourth Edition by Aaron Hillegass, Adam Preble

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Index

Symbols

: (colon), method name with arguments, 36

@“...” construct, 47

@ symbol

C strings vs. NSStrings, 40–41

Objective-C keywords, 27

^operator, blocks, 372, 374

A

abstract class

defined, 160

NSCoder as, 160

NSController as, 129–130

acceptsFirstResponder method, keyboard events, 272–275, 280, 282

accessor methods

declaring for new class, 50–51

defined, 50

implementing, 123–125

actions

implicit animation and, 423–424

targets and. See target/action

actions

dictionary, 423

addObject method

add objects to end of array, 36

NSMutableArray, 46

addObjectsFromArray: method, NSMutableArray, 46

addOperationWithBlock: method, NSOperationQueue, 436–437

Alert panel

as modal window, 336–337

overview of, 229–230

using string table, 241

alloc method

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required