𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Learning Cocoa with Objective-C, 2nd Edition

✍ Scribed by James Duncan Davidson, Inc. Apple Computer


Publisher
O'Reilly Media
Year
2002
Tongue
English
Leaves
461
Edition
2
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


The book is an useful guide for who needs to learn Cocoa programming, and needs to learn also Objective-C.

✦ Table of Contents


Contents......Page 1
Preface......Page 7
Part I: Cocoa Overview and Foundation......Page 22
1. Introduction to Cocoa......Page 23
1.1 The Mac OS X Programming Environment......Page 24
1.2 Cocoa Defined......Page 26
1.3 The Cocoa Frameworks......Page 30
1.4 Languages......Page 31
1.5 The Foundation Framework......Page 33
1.6 The Application Kit Framework......Page 39
2. Cocoa Development Tools......Page 43
2.2 Interface Builder......Page 59
2.3 Other Tools......Page 66
2.4 Exercises......Page 70
3. Object- Oriented Programming with......Page 71
3.1 Introducing Objects......Page 72
Format String Tokens......Page 78
3.3 Methods and Messages......Page 80
3.4 Objective- C- Defined Types......Page 84
3.7 Other Concepts......Page 99
3.8 Exercises......Page 100
4. The Cocoa Foundation Kit......Page 101
4.3 Memory Management......Page 126
4.4 Exercises......Page 131
Part II: Single- Window Applications......Page 132
5. Graphical User Interfaces......Page 133
5.1 Graphical User Interfaces in Cocoa......Page 134
5.2 Designing Applications Using MVC......Page 137
5.3 Create the Currency Converter Project......Page 139
5.4 Create the Interface......Page 141
5.5 Define the Classes......Page 153
5.6 Connect the Model, Controller, and View......Page 155
5.8 Build and Run......Page 161
5.9 Exercises......Page 162
6. Windows, Views, and Controls......Page 163
6.1 Windows and the Window System......Page 164
6.2 The View Hierarchy......Page 169
6.3 Coordinate Systems......Page 171
6.5 Targets and Actions......Page 187
6.6 Exercises......Page 195
7. Custom Views......Page 196
7.1 Custom View Creation Steps......Page 197
7.3 Drawing into a View: Behind the Scenes......Page 204
7.6 Exercises......Page 211
8. Event Handling......Page 212
8.1 Events......Page 213
8.5 Exercises......Page 238
9. Models and Data Functionality......Page 239
9.1 Protocols......Page 240
9.6 Using Formatters......Page 261
9.8 Exercises......Page 265
Part III: Document- Based Applications......Page 266
10. Multiple Document Architecture......Page 267
10.1 Architectural Overview......Page 268
10.3 Exercises......Page 284
11. Rich- Text Handling......Page 285
11.1 Cocoa's Text System......Page 286
11.3 Enabling the Font Menu......Page 292
11.5 Enabling the Text Menu......Page 300
11.7 Exercises......Page 306
Part IV: Miscellaneous Topics......Page 307
12. Printing......Page 308
12.4 Exercises......Page 317
13. Bundles and Resources......Page 318
13.1 Peeking Inside Bundles......Page 319
13.3 Exercises......Page 335
14. Localization......Page 336
14.2 Localizing Resources......Page 339
14.5 Exercises......Page 350
15. Defaults and Preferences......Page 351
15.1 How Preferences Work......Page 352
15.3 Command- Line Preferences Access......Page 358
15.4 Using Unique Application Identifiers......Page 359
15.5 Exercises......Page 361
16. Accessory Windows......Page 362
16.1 The Role of File's Owner......Page 363
16.3 Exercises......Page 373
17. Finishing Touches......Page 374
17.1 Tidying Up the User Interface......Page 375
17.2 Providing an Icon......Page 377
17.4 Customizing the About Box......Page 386
17.5 Tweaking Compiler Settings......Page 390
17.6 Packaging for Distribution......Page 392
17.7 Closure......Page 394
17.8 Exercises......Page 395
Part V: Appendixes......Page 396
Appendix A. Exercise Solutions......Page 397
A. 1 2......Page 398
A. 2 3......Page 399
A. 4 5......Page 402
A. 5 6......Page 403
A. 11 12......Page 413
A. 12 13......Page 414
A. 13 14......Page 415
A. 16 17......Page 419
Appendix B. Additional Resources......Page 420
B. 1 Documentation on Your Hard Drive......Page 421
B. 2 Printed Documentation......Page 423
B. 3 Getting Sample Code......Page 424
B. 4 Web Sites......Page 425
B. 5 Mailing Lists......Page 427
B. 6 Partnering with Apple......Page 429
Appendix C. Using the Foundation and Application Kit......Page 430
C. 1 Cocoa Browser......Page 433
Colophon......Page 435


πŸ“œ SIMILAR VOLUMES


Learning Cocoa with Objective-C, 2nd Edi
✍ James Duncan Davidson, Inc. Apple Computer πŸ“‚ Library πŸ“… 2002 πŸ› O'Reilly Media 🌐 English

The book is an useful guide for who needs to learn Cocoa programming, and needs to learn also Objective-C.

Learning Cocoa with Objective-C, 2nd Edi
✍ James Duncan Davidson, Inc. Apple Computer πŸ“‚ Library πŸ“… 2002 πŸ› O'Reilly Media 🌐 English

The book is an useful guide for who needs to learn Cocoa programming, and needs to learn also Objective-C.

Learning Cocoa with Objective-C, 2nd Edi
✍ James Duncan Davidson, Inc. Apple Computer πŸ“‚ Library πŸ“… 2002 πŸ› O'Reilly Media 🌐 English

The book is an useful guide for who needs to learn Cocoa programming, and needs to learn also Objective-C.

Learning Cocoa with Objective-C, 2nd Edi
✍ James Duncan Davidson, Inc. Apple Computer πŸ“‚ Library πŸ“… 2002 πŸ› O'Reilly Media 🌐 English

The book is an useful guide for who needs to learn Cocoa programming, and needs to learn also Objective-C.

Learning Cocoa with Objective-C, 2nd Edi
✍ James Duncan Davidson, Apple Computer πŸ“‚ Library πŸ“… 2002 πŸ› O’Reilly 🌐 English

<div><p><i>Learning Cocoa with Objective-C</i> is the ’’must-have’’ book for people who want to develop applications for Mac OS X, and is the only book approved and reviewed by Apple engineers. Based on the Jaguar release of Mac OS X 10.2, this edition of <i>Learning Cocoa</i> includes examples that