Datasheet
391
Index
modi ed, warning-free calculateTip:
method, 324
modi ed source module SimpleCocoaWi
ndowAppAppDelegate.m, 317
modifying displayText method to
receive parameters, 266
modifying scheduleEvent method to
pass parameters to displayText, 267
MyDocument method, 246–250
newObject: method, 237–238
non-uniform two-dimensional shapes
drawn as series of points, 195–196
NSNotification, 33
NSNotificationCenter, 33
Objective-C class header le, 89
PreferencesController object
manages an NSColorWell, 168
responding to menu items by changing
text color, 140–141
SimpleCocoaWindowAppApp
Delegate.h, 316
source code for app delegate, 166
source code for Controller, 163–165
source model for
AboutStockMarketerController
class, 351–352
StockAccountController.h, 162
StockAccount.h, 156–157
StockMarketerAppDelegate.h le’s
contents, 165–166
storing and retrieving optional
preferences of DiabeticPad users,
241–242
updated
ColorizeTimerAppDelegate.h,
272–273
updated StockMarketerAppDelegate
source module, 353–354
using preprocessors macros to
conditionally include/exclude code, 333
colon (:), 99
ColorizedView.h header le, 268–269
ColorizedView.m source module,
269–270
ColorizeTimerAppDelegate, 272–275
colors, 184–187
Comma Separated Values (CSV), 245
comment lines, 29
Company Identi er, 44
compiler directive, 90
components
Apple, 178–179
Interface Builder, 121–146
conditional breakpoints, 326–328
Connections inspector (Inspector pane),
124
Console pane (Xcode Debugger), 312
Controller class, 152, 160–167, 371
Controls (Cocoa Framework), 130
convenience colors, 184–185
convenience methods, 98, 107
conventions, explained, 2
Core Animation, 201–205
Core Data, 221–239
CoreAudio framework, 111
CoreData Editor, 40
CoreDataDiabeticalPad.h, 234
CoreDataDiabeticalPad.m, 234–236
CoreData.framework framework, 110
creating
About panel, 347–354
CoreDataDiabeticPad user interface,
227–236
custom views, 187–189
data classes, 211–217
delegate objects, 104–105
DiabeticPad logbook record, 225–226
Macintosh Applications with Xcode,
41–61
objects, 97–98
projects, 42–49
red borders around custom view, 191
stub methods, 137–139
tip calculators, 63–82
View component in apps, 159–160
CSV (Comma Separated Values), 245
Custom Objects (Objects Library), 129
custom views, 187–189
CustomMenus app, 372
• D •
dash (-), 29
data (user), maintaining
analyzing data, 209–210
storing data, 210–239
user preferences, 239–250
23_9781118032220-bindex.indd 39123_9781118032220-bindex.indd 391 9/21/11 9:43 AM9/21/11 9:43 AM