E-Book, Englisch, 272 Seiten
Nutting / Mark / Wooldridge Beginning iPad Development for iPhone Developers
1. ed
ISBN: 978-1-4302-3022-9
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
Mastering the iPad SDK
E-Book, Englisch, 272 Seiten
ISBN: 978-1-4302-3022-9
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
It's in magazines and newspapers, it's on television and radio, it's on buses and billboards and pretty much everywhere you look. The iPad is the touchscreen tablet from Apple, representing the next generation of mobile computing. Packed with dozens of new features, the iOS 3.2 SDK enables you to build sophisticated, desktop-quality apps for this exciting new platform. Every iPhone and iPod touch app developer looking to take the next step and move into the iPad arena will want to read this book from cover to cover. Beginning iPad Development for iPhone Developers: Mastering the iPad SDK has all the answers, and you'll find them presented with the same easy-to-follow style and thorough coverage you've come to expect from titles like Beginning iPhone 3 Development-everything an aspiring iPad developer needs to know to create great apps. Best-selling authors Jack Nutting, Dave Wooldridge, and Dave Mark show iPhone developers how to master all of the iPad-exclusive frameworks and features, which are explained, demonstrated in action, and put through their paces in this comprehensive programming guide. You'll get a detailed understanding of the new feature set and gain every possible advantage in the iTunes App Store.
Jack Nutting has been using Cocoa since the olden days, long before it was even called Cocoa. He has used Cocoa and its predecessors to develop software for a wide range of industries and applications, including gaming, graphic design, online digital distribution, telecommunications, finance, publishing, and travel. When he is not working on Mac or iOS projects, he is developing web applications with Ruby on Rails. Nutting is a passionate proponent of Objective-C and the Cocoa frameworks. At the drop of a hat, he will speak at length on the virtues of dynamic dispatch and run time class manipulations to anyone who will listen (and even to some who won t). Nutting is the primary author of Learn Cocoa on the Mac (Apress, 2010) and Beginning iPad Development for iPhone Developers (Apress, 2010). He blogs from time to time at Nuthole.com.
Autoren/Hrsg.
Weitere Infos & Material
1;Title Page
;1
2;Copyright Page
;2
3;Contents at a Glance;4
4;Table of Contents ;5
5;About the Authors;9
6;About the Technical Reviewer;10
7;Acknowledgments;11
8;Preface;12
9;Chapter 1 Welcome to the Paradigm Shift;13
9.1;Reinventing the Tablet;13
9.2;It’s All About the Software;14
9.3;The iPad Is Not a Big iPod touch;15
9.4;Personal Computing for the Masses;17
9.5;Developing Apps for the iPad;19
9.5.1;When Your iPhone App Is No Longer Good Enough;19
9.5.2;Exploring the Possibilities;20
9.5.2.1;Brushes;20
9.5.2.2;1Password Pro;23
9.5.2.3;Synotes;24
9.5.2.4;ScribattlePad;26
9.5.2.5;Zen Bound 2;28
9.6;Opportunity Awaits;28
10;Chapter 2 Getting Started with iPad Development;30
10.1;Acquiring the Tools of the Trade;30
10.1.1;Enrolling in the iPhone Developer Program;30
10.1.2;Installing iPhone SDK 3.2;31
10.1.3;Working with Beta Versions of the SDK;32
10.1.4;New to Objective-C and Cocoa Touch?;34
10.1.5;Embracing the Model-View-Controller Concept;35
10.1.6;Reusability in Xcode;36
10.1.7;Designing in Interface Builder;39
10.1.7.1;Wiring Actions;41
10.1.7.2;Wiring Outlets;42
10.2;The Importance of Delegates;44
10.3;Improving App Usability with UIKit;46
10.4;Primed for Programming;48
11;Chapter 3 Exploring the iPhone SDK’s New iPad Features;49
11.1;Optimizing Apps for the iPad;49
11.1.1;Examining the Tablet;49
11.1.2;Managing Memory;50
11.1.3;Testing Your Apps on an iPad;51
11.2;What’s New in iPhone SDK 3.2 for the iPad;52
11.2.1;Shape Drawing;52
11.2.2;PDF Files;54
11.2.3;Core Text;55
11.2.4;Popovers;56
11.2.5;Video Playback and Display Options;59
11.2.6;Split View Controller;61
11.2.7;Modal Presentation Styles;64
11.2.8;Advanced Input Methods;66
11.2.8.1;Edit Menu Actions;66
11.2.8.2;Keyboard Layouts;67
11.2.8.3;Gesture Recognizers;68
11.2.9;Document Support;69
11.2.10;Universal Applications;71
11.2.10.1;Universal App Requirements;71
11.2.10.2;To Be or Not to Be Universal;73
11.3;Required Project Images for iPad Apps;74
11.3.1;App Icon Images;74
11.3.2;Document Type Icon Images;75
11.3.3;Default Launch Images;75
11.4;Drilling Deeper;76
12;Chapter 4 New Graphics Functionality;77
12.1;Bezier Paths;77
12.2;Introducing Dudel;78
12.3;Creating the Dudel Project;79
12.4;Adding a Simple GUI;83
12.5;The Basic Drawing Architecture;84
12.6;We Are All Tool Users;86
12.6.1;The Pencil Tool;89
12.6.2;The Line Tool;95
12.6.3;The Ellipse and Rectangle Tools;98
12.6.4;The Freehand Tool;103
12.7;PDF Generation;106
12.8;Things to See and Do;108
13;Chapter 5 Using Core Text;109
13.1;Why Core Text?;109
13.2;The Structure of Core Text;110
13.3;Preparing Dudel for a New Tool;113
13.3.1;Preparing the Controller Interface;113
13.3.2;Setting Up the GUI;114
13.3.3;Implementing Changes to the Controller Class;115
13.3.4;Creating the Text Tool;116
13.3.4.1;Declaring the Text Tool Interface;117
13.3.4.2;Implementing TextTool;117
13.3.5;Creating a New Drawable Class;122
13.3.6;Rendering Multiple Styles;124
13.4;The Lessons of Core Text;127
14;Chapter 6 Popovers;128
14.1;Popover Preparations;128
14.2;The Basic GUI;129
14.3;Popover Considerations;131
14.4;The Font Name Popover;133
14.4.1;The Simplest Popover You’ll Ever Create;134
14.4.2;The Back End;137
14.5;The Font Size Popover;140
14.5.1;Creating the GUI;141
14.5.2;Making It Work;142
14.5.3;The Stroke Width Popover;144
14.5.4;Paving the Way;145
14.5.5;Creating the GUI;145
14.5.6;Previewing the Stroke Width with a Custom View;146
14.5.7;Implementing the Controller;148
14.5.8;Making it Work;148
14.6;The Dual-Action Color Popover;150
14.6.1;Creating a Simple Color Grid;151
14.6.2;Hooking Up the Grid;153
14.6.3;Serving Two Masters;155
14.7;Your Popover-Fu Is Strong;159
15;Chapter 7 Video and Display Output;160
15.1;Displaying Multiple Videos;160
15.1.1;Creating the Video App Project;161
15.1.2;Specifying Your Video Files;161
15.1.3;Using the videoCell Outlet to Load the GUI;162
15.1.4;Creating the VideoCell User Interface;164
15.1.5;Running the Video App;165
15.2;Outputting to an External Screen;166
15.2.1;Extending the Video App to Handle an External Screen;167
15.2.1.1;Implementing the VideoCell Delegate Method;170
15.2.1.2;Testing the External Screen Functionality;171
15.3;Display Solutions;171
16;Chapter 8 Split Views and Modal Modes;172
16.1;The Split View Concept;172
16.2;The Basics of Saving and Loading;174
16.3;Document Management;177
16.4;Listing Files;178
16.4.1;Adding a File List Controller;180
16.4.2;Changing the App Delegate;182
16.5;Creating and Deleting Files;187
16.6;Renaming Files;190
16.7;Implementing an About Panel in a Modal Way;194
16.7.1;Creating the Modal Web View Controller;195
16.7.2;Displaying a Web Page;196
16.7.3;Integrating with the Dudel View Controller;197
16.8;Let's Split;198
17;Chapter 9 New Input Methods;199
17.1;Menu Additions;199
17.2;Gesture Recognition;202
17.2.1;Adding Undo to Dudel;202
17.2.2;Resetting the Selected Tool’s State;205
17.3;Keyboard Extensions and Replacements;205
17.3.1;Adding a Keyboard Button in Dudel;206
17.3.2;Replacing the Keyboard;207
17.3.2.1;Defining the InputView Class;209
17.3.2.2;Creating the Keyboard Input View;211
17.3.2.3;Creating the Calculator;213
17.4;That’s All the Input You Need;216
18;Chapter 10 Working with Documents;217
18.1;Passing Files to Another Application;217
18.2;Adding a PDF-Sending Menu Action;218
18.2.1;Preparing a File for Sending;219
18.2.2;Invoking the Document Interaction Controller;220
18.3;Receiving Files;221
18.3.1;Registering As a Recipient;221
18.3.1.1;Declaring a Data Type's Existence with UTI;222
18.3.1.2;Declaring Data Type Ownership Using UTI;223
18.4;Testing the File-Receiving Feature;224
18.4.1;Retrieving File Information from Launch Options;225
18.4.2;Sending a Dudeldoc File;226
18.5;Desktop Synchronization;227
18.6;Share and Share Alike;228
19;Chapter 11 From iPhone to iPad;229
19.1;Introducing NavApp for iPhone;229
19.1.1;Creating the NavApp Project;230
19.1.1.1;Enhancing the Root View Controller;230
19.1.1.2;Defining the Second Level View Controller;231
19.1.1.3;Defining the Choice View Controller;233
19.1.2;Choosing the Active SDK;234
19.1.3;Adding iPad to the Mix;235
19.1.3.1;Taking the Upgraded NavApp for a Spin;236
19.1.3.2;Conditional Behavior: Know Your Idioms;237
19.1.3.3;Configuring the Main iPad GUI;239
19.1.3.4;Creating the Choice View Controller GUI for iPad;240
19.1.3.5;Implementing the Split View Delegate Methods;241
19.1.3.6;Tweaking the Navigation Logic;242
19.1.3.7;Enhancing the Main View with a No-Selection State;243
19.1.4;Running on Multiple Targets;245
19.1.5;Juggling iDevices;245
20;Chapter 12 Additional Resources for iPad Development;246
20.1;Logging in to the Mother Ship;246
20.1.1;iPad Development;247
20.1.2;Objective-C and Cocoa Touch;247
20.1.3;iPad App Deployment;248
20.2;Learning from the Experts;248
20.2.1;Books;248
20.2.2;Tutorials and Code Examples;249
20.3;Designing User Interfaces for iPad Apps;249
20.3.1;Paper Prototyping;250
20.3.2;Digital Mockups;250
20.3.3;User Interface Icons;251
20.3.4;Design Considerations and Inspirations;251
20.4;Finding Answers in Online Forums;252
20.5;Holding the Future;252
21;Index;253




