E-Book, Englisch, 412 Seiten, Web PDF
McKeehan / Rhodes Programming for the Newton®
1. Auflage 2014
ISBN: 978-1-4832-6907-8
Verlag: Elsevier Science & Techn.
Format: PDF
Kopierschutz: 1 - PDF Watermark
Software Development with Newtonscript(TM)
E-Book, Englisch, 412 Seiten, Web PDF
ISBN: 978-1-4832-6907-8
Verlag: Elsevier Science & Techn.
Format: PDF
Kopierschutz: 1 - PDF Watermark
Julie McKeehan and Neil Rhodes are external faculty at Apple Developer University and regularly teach programming courses. Julie and Neil are principals of Calliope Enterprises, a company providing Macintosh and Newton programming and training services. They are also authors of Wireless for the Newton® and Programming for the Newton Using Macintosh.
Autoren/Hrsg.
Weitere Infos & Material
1;Front Cover
;1
2;Programming for the Newton: Software Development with NewtonScript;4
3;Copyright Page
;5
4;Table of Contents;8
5;Apple Computer, Inc. Software License;6
6;Foreword by Walter Smith;12
7;Acknowledgements;14
8;Preface;16
9;Chapter 1. Newton Application Design;20
9.1;Overview;20
9.2;A Newton Glossary;21
9.3;The Life Cycle of an Application;23
9.4;Newton Application Designs;37
9.5;Designing an Application—WaiterHelper;40
9.6;Summary;41
10;Chapter 2. Views on the Newton;42
10.1;Everything Is a View;43
10.2;Views on the Newton and Templates in NTK;44
10.3;View Hierarchies;46
10.4;View Classes;49
10.5;Linking Templates;50
10.6;Naming Templates;52
10.7;Creating the Views of WaiterHelper;53
10.8;Summary;64
11;Chapter 3. Skeleton of a View;66
11.1;What's in a View;67
11.2;Common View Slots;68
11.3;Why Use Justification?;76
11.4;Using Justification;78
11.5;Modifying the WaiterHelper Application;89
11.6;Summary;104
12;Chapter 4. Protos;106
12.1;Introduction to Protos;107
12.2;The System Protos;113
12.3;Creating and Using User Protos;117
12.4;Protos in WaiterHelper;120
12.5;Summary;124
13;Chapter 5. The Fundamentals of NewtonScript;126
13.1;A Brief Overview of NewtonScript;128
13.2;Frames;128
13.3;Arrays;135
13.4;Symbols and Path Expressions;139
13.5;Iterating with foreach;141
13.6;Types;144
13.7;Methods;146
13.8;Additional NewtonScript Features;152
13.9;The Benefits of NewtonScript;160
13.10;Writing Code for WaiterHelper;162
13.11;Summary;167
14;Chapter 6. Inheritance in NewtonScript;168
14.1;Overview of NewtonScript Inheritance;169
14.2;Proto Inheritance;171
14.3;Parent Inheritance;178
14.4;Combining Proto and Parent Inheritance;179
14.5;NewtonScript, Newton Toolkit, and the Newton;185
14.6;Summary;187
15;Chapter 7. View System and Messages;188
15.1;How Views Are Created;189
15.2;Other Messages the View System Sends;197
15.3;View Messages You Send;197
15.4;Declaring Views;199
15.5;InstallScript and RemoveScript;202
15.6;Adding Code to WaiterHelper;204
15.7;Summary;219
16;Chapter 8. Newton Data Storage;220
16.1;Introduction;221
16.2;Description of Methods and Functions;228
16.3;Samples in the Inspector;249
16.4;Handling Soups in Your Application;258
16.5;Adding Soups to WaiterHelper;262
16.6;Summary;285
17;Chapter 9.
Debugging Your Application;286
17.1;The Inspector;287
17.2;Printing;291
17.3;Tracing;293
17.4;Debugging Functions;295
17.5;Exceptions;300
17.6;The Debugging Process;305
17.7;Summary;307
18;Appendix A: Important Methods;308
18.1;Methods Covered in This Book;308
18.2;Methods Not Covered in This Book;311
19;Appendix B: Important Messages;318
19.1;View/Proto Messages;318
19.2;Store Methods;329
19.3;Soup Methods;331
19.4;Cursor Methods;332
20;Appendix C: Important Global Functions;334
20.1;Global Functions Covered in This Book;334
20.2;Global Functions Not Covered in This Book;344
21;Appendix D: Important Global Variables;352
21.1;Variables Covered in This Book;352
21.2;Variables Not Covered in This Book;353
22;Appendix E: NewtonScript Syntax;354
22.1;About the Grammar;355
22.2;Phrasal Grammar;355
22.3;Lexical Grammar;360
22.4;Operator Precedence;361
23;Appendix F: Application Issues;362
23.1;Setting Application Bounds Based on the Screen Size;362
23.2;Creating Unique Application Symbols and Names;363
24;Appendix G: Using Newton Toolkit;366
24.1;Installing NTK;367
24.2;NTK Menus;370
24.3;Creating a Project;373
24.4;Creating a Layout;376
24.5;Linking Layouts;378
24.6;Creating a User Proto;380
24.7;Creating and Modifying Templates;382
24.8;The Slot Editor;393
24.9;Additional Parts of Your Project;396
24.10;Building and Downloading;399
24.11;Index;402
25;Companion Disk Order Form;414