Datasheet

390
Mac Application Development For Dummies
Cocoa Dev (website), 380
Cocoa Dev Central (website), 380
Cocoa frameworks
about, 109–112
de ned, 1
groups, 130
Cocoa Is My Girlfriend (blog), 381
Cocoa.framework framework, 110
code
editing, 19
interactiveness of, 141–142
code samples
adding NSLog messages to displays, 330
adding references to BasicPrintView
objects, 291–292
adding sliders to change text
transparency, 142
App Delegate header  le, 288–289
collapsing two retrieval methods into one
method, 326
ColorizedView.h header  le, 268–269
ColorizedView.m source module,
269–270
CoreDataDiabeticPadDoc.h with
an NSArrayControllerObject
reference, 234
CoreDataDiabeticPadDoc.m using
its NSArrayControllerObject
reference, 234–236
creating red borders around custom
view, 191
data class header  le, 27
data class implementation, 28
difference between methods with and
without locks, 259
document supports multi-page printing
with virtual view, 300–302
DPData.h le, 213
DPData.m, 214–216
drawing family car with Cocoa, 192–194
ForDummiesImagesAppDelegate.h
header  le, 278
format of NSLog function, 328
functional menu methods, 137
header  le for
AboutStockMarketerController
class, 351
header  le for view to be printed, 298
header  le
OneTimeEventAppDelegate.h, 263
IBAction method signature, 78
implementating code for
StockAccount.m, 157–158
implementating scheduling of single
events, 264–265
implementation for view to be printed,
298–300
implementating AnimationView,
203–204
implementating App Delegate code,
289
implementating of code to download
images from Dummies website,
279–281
implementating
PreferencesController, 169–170
implementating showPreferences:
method to display Preferences
window, 172–173
implementating VerySimpleClass,
91–92
implementing code for
ColorizeTimerAppDelegate,
273–275
implementing code to modify text
transparency, 142–143
implementing print code, 292–293
LeakerAppDelegate header  le, 360, 361
LongDurationActivity class uses
NSThread, 257
maintaining reference to
PreferencesController, 171–172
Matrix-multiplication method, 30
member variables to reference labels, 140
method to be called by menu items, 136
methods and member variables of
AnimationView class, 202
methods exercising retain, release,
and autorelease, 106
missing methods, 325
modi cations for SimpleCocoaWindowA
ppAppDelegate.h, 65
modi cations for SimpleCocoaWindowA
ppAppDelegate.m, 66
modi cations to
StockMarketerAppDelegate header
le, 352–353
23_9781118032220-bindex.indd 39023_9781118032220-bindex.indd 390 9/21/11 9:43 AM9/21/11 9:43 AM