Lewis | iPhone and iPad Apps for Absolute Beginners | E-Book | www2.sack.de
E-Book

E-Book, Englisch, 336 Seiten

Lewis iPhone and iPad Apps for Absolute Beginners


1. ed
ISBN: 978-1-4302-2701-4
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark

E-Book, Englisch, 336 Seiten

ISBN: 978-1-4302-2701-4
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark



The iPhone is the hottest gadget of our generation, and much of its success has been fueled by the App Store, Apple's online marketplace for iPhone applications. Over 1 billion apps have been downloaded in the 9 months the App Store has been open, ranging from the simplest games to the most complex business apps. Everyone has an idea for the next best-selling iPhone app-presumably that's why you're reading this now. And with the release of the iPad, this demand will just continue to grow. So how do you build an application for the iPhone and iPad? Don't you need to spend years learning complicated programming languages? What about Objective-C, Cocoa Touch, and the software development kit (SDK)? The answer is that you don't need to know any of those things. Anybody can start building simple applications for the iPhone and iPad, and this book will show you how. This book takes you to getting your first applications up and running using plain English and practical examples. It cuts through the fog of jargon and misinformation that surrounds iPhone and iPad application development, and gives you simple, step-by-step instructions to get you started. Teaches iPhone and iPad application development in language anyone can understand Provides simple, step-by-step examples that make learning easy Offers videos that enable you to follow along with the author-it's like your own private classroom

Rory Lewis is assistant professor of computer science at the University of Colorado at Colorado Springs. He is often mistaken for a hippie, wearing Dead-head shirts and walking aimlessly around the campus. He is often described as the guy in the office where students are always lined up outside. He is often heralded as the dude that will explain your math and computer code, even when he first checks and sees you ve done 800 tweets and 2,700 Facebook comments while you should have been in class! He is described by his adult daughters as a dad that was once a successful microprocessor litigation lawyer in Palo Alto, but couldn t resist his dorkiness and went back to school to become a doctor of geekdom!

Lewis iPhone and iPad Apps for Absolute Beginners jetzt bestellen!

Autoren/Hrsg.


Weitere Infos & Material


1;Contents at a Glance;5
2;Table of Contents;6
3;Foreword: About the Author;10
3.1;Why you’ll relate to Dr. Lewis;10
3.2;Fast-Forward 17 Years;10
3.3;Past—Present—Future;11
3.4;Why Write This Book?;11
4;About the Contributing Authors;13
5;About the Technical Reviewer;14
6;Acknowledgments;15
7;Preface;16
7.1;What This Book Will Do For You;16
7.2;The Approach I Take;17
8;Chapter 1 Before We Get Started;18
8.1;Necessities and Accessories;18
8.2;What I Won’t Teach You;23
8.2.1;Computer Science: A Broad and Diverse Landscape;23
8.2.1.1;Why Purgatory Exists In Objective-C;24
8.2.1.2;Houston, We Have a Problem;24
8.2.1.3;How We’ll Visit Purgatory Every Now and Again;25
8.2.1.4;Looking Forward … Beginning iPhone 3 Development: Exploring the iPhone SDK;25
8.3;What You Will Learn;26
8.3.1;Creating Cool and Wacky Apps: Why I Teach This Way;26
8.3.2;Evangelizing to Your Grandmother … What You Coded Is Crucial!;27
8.4;How Does This All Work?;27
8.4.1;Our Road Map: Using Xcode and Interface Builder;29
8.4.1.1;Getting Ready For Your First iPhone/iPad Project;29
8.4.1.2;The Accompanying Screencasts;31
8.4.1.3;The Accompanying PDFs;32
8.4.1.4;Pretending Not to Know: The Art of De-Obfuscation;32
8.4.1.5;How We’ll Travel Through Each Step;32
9;Chapter 2: Blast-Off!;33
9.1;helloWorld_002 – a Navigation-based Application;54
9.2;helloWorld_003 – Modifying a Navigation-based App;64
10;Chapter 3: What’s Next?;69
10.1;§I: THE ROAD AHEAD;70
10.1.1;Introducing Chapter 4—An Introduction to the Code;70
10.1.2;Introducing Chapter 5—Buttons & Labels with Multiple Graphics;71
10.1.3;Introducing Chapter 6—Switch View with Multiple Graphics;72
10.1.4;Introducing Chapter 7—Dragging, Rotating, and Scaling;74
10.1.5;Introducing Chapter 8—Table Views, Navigation, and Arrays;75
10.1.6;Introducing Chapter 9—MapKit;76
10.2;§II: THE iPHONE AND THE iPAD;76
10.2.1;Do Apps Run on Both the iPad and the iPhone?;77
10.2.2;More Screen Space;78
10.2.3;Master-Detail;80
10.2.4;User Interface on iPad;80
10.2.5;Checking the Platform;81
10.2.6;Compatibility;81
10.3;§III: A LOOK UNDER THE HOOD;82
10.3.1;You’ve Said “Hello!” … but now, INDIO!;83
10.3.1.1;Model-View-Controller;83
11;Chapter 4: An Introduction to the Code;86
11.1;004_helloWorld: Buttons with Graphics;87
11.2;Digging the Code;104
11.2.1;Nibs, Zibs, and Xibs;104
11.2.2;Methods;105
12;Chapter 5: Buttons & Labels with Multiple Graphics;108
12.1;helloWorld_005: a View-Based Application;108
12.1.1;Preliminaries;109
12.1.2;Xcode – Beginning a New Project;112
12.1.3;Understanding IBOutlets;114
12.1.4;Pointers;116
12.1.5;Properties: Management & Control;118
12.1.6;Adding IBActions;120
12.1.7;Coding the Implementation File;121
12.1.8;Providing for Synthesis;123
12.1.9;Interface Builder: Making the Connections;125
12.1.10;Final Step: File’s Owner & uiImageView;133
12.2;Digging the Code;137
12.2.1;IBOutlets and IBActions;137
12.2.2;More About Pointers;138
12.3;In the Chapter Ahead;139
13;Chapter 6: Switch View with Multiple Graphics;140
13.1;einSwitch_001—a Window-Based Application;143
13.1.1;Preliminaries;143
13.1.2;Name your Project “einSwitch01”;148
13.1.3;Create the 1st UIViewController Subclass;152
13.1.4;Create the Ein1Controller;153
13.1.5;Check Header and Implementation Files;154
13.1.6;Create the Ein2Controller;154
13.1.7;Make Sure Images Are Embedded;155
13.1.8;Save Einstein2View.xib;156
13.1.9;Drag the Images into Xcode;157
13.1.10;Assign your Icon in the “plist”;158
13.1.11;Code the AppViewDelegate;159
13.1.12;Working SwitchView;161
13.1.13;SwitchViewController and AppDelegate;163
13.1.14;SwitchViewController Header File;167
13.1.15;Ready for Lazy Load—Implementation File;170
13.1.16;A Note about Comments and Lazy Loads;171
13.1.17;Copy Contents of SwitchViewController.txt;173
13.1.18;A Note about Apple’s Boilerplate Implementation File;174
13.1.19;Working on the .xib Files;176
13.1.20;Select the File’s Owner;178
13.1.21;Drag a View onto the Screen;178
13.1.22;Start Working on the Einstein#View.xib Files;182
13.1.23;Repeat Process for Second Image;186
13.2;einSwitch_002—a Tab-Bar Application;191
13.3;einSwitch_003—a Window-Based Application;206
13.4;Digging … Your Brain;222
14;Chapter 7: Dragging, Rotating, and Scaling;223
14.1;DragRotateAndScale—a View-Based Application;224
14.1.1;Preliminaries;225
14.1.2;Starting the DragRotateAndScale App;225
14.1.3;Creating a Custom UIImageView Subclass;227
14.1.4;Overriding – initWithImage in TransformView.m;229
14.1.5;Creating Touch-Handling Stubs;230
14.1.6;Translating in touchesMoved;232
14.1.7;Making Use of TransformView;234
14.1.8;Creating a TransformView;234
14.1.9;Preparing TransformView for Rotation and Scaling;239
14.1.10;Helper Methods;240
14.1.11;Adding to “-touchesBegan”;241
14.1.12;Modifying -touchesMoved;243
14.2;Digging the Code;246
14.2.1;Gesture Support and the iPad;247
15;Chapter 8: Table Views, Navigation, and Arrays;249
15.1;How Shall We Proceed?;252
15.2;Table Views and Navigation Stacks;252
15.3;Food: Following the App Store Model;253
15.3.1;Starting the Food App;253
15.3.2;Adding the Category Names Array in RootViewController.h;255
15.3.3;Creating the Categories Array in -viewDidLoad;256
15.3.4;Setting Up Table View Data Source Methods;257
15.3.5;Table View Delegation;258
15.3.6;Setting up FoodTableViewController;259
15.3.7;Creating the Convenience Constructor for the FoodTableViewController;262
15.3.8;Data Source and Delegation for the FoodTableViewController;263
15.3.9;Creating the FoodViewController Class;264
15.3.10;The FoodViewController Header File;265
15.3.11;The FoodViewController Convenience Constructor;266
15.3.12;Setting Up FoodViewController, -viewDidLoad, and the (.xib);266
15.3.13;Icon File;268
15.3.14;Testing the App;269
15.4;Digging the Code;271
15.4.1;Memory Management;271
15.4.2;Reuse Identifiers;273
16;Chapter 9: MapKit;274
16.1;A Little about Frameworks;275
16.2;Important Things to Know;276
16.3;Preinstalled MapKit Apps;276
16.3.1;Find Locations;277
16.3.2;Get Directions;278
16.3.3;See Which Way You’re Facing;279
16.3.4;See Traffic;280
16.3.5;Search for a Location;281
16.3.6;Change Your View;282
16.4;Cool and Popular MapKit Apps to Inspire You;283
16.5;MapKit_01: A View-Based Application;284
16.5.1;Possible Prepping for the App;284
16.6;Preliminaries;286
16.7;A New View-Based Template;286
16.7.1;Adding the Annotation File;287
16.7.2;It’s Already Working!;288
16.7.3;Check It Out—the iPad Simulator;289
16.7.4;Make It Look a Little Bit Better;290
16.7.5;Dealing with the Implementation;291
16.7.6;Coding the myPos.h File;297
16.7.7;The myPos.m File;298
16.7.8;The AppDelegate Files;299
16.7.9;Connect MapView with MKMapView;300
16.8;Digging My Students’ MapKit Code;303
16.8.1;Parsing to MapKit from the Internet;303
16.8.2;MapKit Parsing;306
16.8.3;Three MapKit Final Projects: CS-201 iPhone Apps, Objective-C;308
16.8.4;Final Project—Example 2;317
16.8.5;Biographical Info—Example 3, Satish Rege;320
16.9;Zoom Out … Seeing the Big Picture;323
17;Index;325



Ihre Fragen, Wünsche oder Anmerkungen
Vorname*
Nachname*
Ihre E-Mail-Adresse*
Kundennr.
Ihre Nachricht*
Lediglich mit * gekennzeichnete Felder sind Pflichtfelder.
Wenn Sie die im Kontaktformular eingegebenen Daten durch Klick auf den nachfolgenden Button übersenden, erklären Sie sich damit einverstanden, dass wir Ihr Angaben für die Beantwortung Ihrer Anfrage verwenden. Selbstverständlich werden Ihre Daten vertraulich behandelt und nicht an Dritte weitergegeben. Sie können der Verwendung Ihrer Daten jederzeit widersprechen. Das Datenhandling bei Sack Fachmedien erklären wir Ihnen in unserer Datenschutzerklärung.