LaMarche / Mark | Beginning iPhone Development | E-Book | www2.sack.de
E-Book

E-Book, Englisch, 536 Seiten

LaMarche / Mark Beginning iPhone Development

Exploring the iPhone SDK
1. ed
ISBN: 978-1-4302-1627-8
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark

Exploring the iPhone SDK

E-Book, Englisch, 536 Seiten

ISBN: 978-1-4302-1627-8
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark



Are you a programmer looking for a new challenge? Does the thought of building your very own iPhone app make your heart race and your pulse quicken? If so, then Beginning iPhone Development is just the book for you. Assuming only a minimal working knowledge of Objective-C, and written in a friendly, easy-to-follow style, Beginning iPhone Development offers a complete soup-to-nuts course in iPhone and iPod Touch programming. The book starts with the basics, walking you through the process of downloading and installing Apple's free iPhone software development kit, then stepping you though the creation of your first simple iPhone application. You'll move on from there, mastering all the iPhone interface elements that you've come to know and love, such as buttons, switches, pickers, toolbars, sliders, etc. You'll master a variety of design patterns, from the simplest single view to complex hierarchical drill-downs. You'll master the art of table-building and learn how to save your data using the iPhone file system. You'll also learn how to save and retrieve your data using SQLite, iPhone's built-in database management system. You'll learn how to draw using Quartz 2D and OpenGL ES. You'll add multi-touch gesture support (pinches and swipes) to your applications, and work with the Camera, photo library, and Accelerometer. You'll master application preferences, learn how to localize your apps into other languages, and so much more. Apple's iPhone SDK, this book, and your imagination are all you'll need to start building your very own best-selling iPhone applications.

Jeff LaMarche is a Mac and iOS developer with more than 20 years of programming experience. Jeff has written a number of iOS and Mac development books, including Beginning iPhone 3 Development (Apress, 2009), More iPhone 3 Development (Apress, 2010), and Learn Cocoa on the Mac (Apress, 2010). Jeff is a principal at MartianCraft, an iOS and Android development house. He has written about Cocoa and Objective-C for MacTech Magazine, as well as articles for Apple s developer web site. Jeff also writes about iOS development for his widely-read blog at http://iphonedevelopment.blogspot.com.

LaMarche / Mark Beginning iPhone Development jetzt bestellen!

Autoren/Hrsg.


Weitere Infos & Material


1;Contents;6
2;Acknowledgments;17
3;Preface;18
4;Welcome to the Jungle;19
4.1;What This Book Is;19
4.2;What You Need Before You Can Begin;20
4.3;What You Need to Know Before You Begin;22
4.4;What’s Different About Coding for iPhone?;23
4.5;What’s in This Book;26
4.6;Are You Ready?;28
5;Appeasing the Tiki Gods;29
5.1;Setting Up Your Project in Xcode;29
5.2;Introducing Interface Builder;35
5.3;Some iPhone Polish— Finishing Touches;41
5.4;Bring It on Home;45
6;Handling Basic Interaction;46
6.1;The Model- View-Controller Paradigm;47
6.2;Creating Our Project;48
6.3;Creating the View Controller;48
6.4;Using the Application Delegate;58
6.5;Editing MainWindow.xib;61
6.6;Editing Button_FunViewController.xib;62
6.7;Bring It on Home;69
7;More User Interface Fun;70
7.1;A Screen Full of Controls;71
7.2;Active, Static, and Passive Controls;72
7.3;Creating the Application;73
7.4;Build and Run;84
7.5;Implementing the Slider and Label;87
7.6;Implementing the Switches and Segmented Control;91
7.7;Implementing the Button, Action Sheet, and Alert;96
7.8;Showing an Action Sheet;98
7.9;Spiffing Up the Button;101
7.10;Crossing the Finish Line;104
8;Autorotation and Autosizing;105
8.1;Handling Rotation Using Autosize Attributes;107
8.2;Restructuring a View When Rotated;113
8.3;Swapping Views;118
8.4;Rotating Out of Here;127
9;Multiview Applications;128
9.1;The View Switcher Application;131
9.2;The Architecture of a Multiview Application;132
9.3;Building View Switcher;133
9.4;Animating the Transition;147
9.5;Refactoring;150
9.6;Switching Off;152
10;Tab Bars and Pickers;153
10.1;The Pickers Application;154
10.2;Delegates and Datasources;155
10.3;Setting Up the Tab Bar Framework;156
10.4;Implementing the Date Picker;162
10.5;Implementing the Single Component Picker;165
10.6;Implementing a Multicomponent Picker;172
10.7;Implementing Dependent Components;177
10.8;Creating a Simple Game with a Custom Picker;184
10.9;Final Spin;197
11;Introduction to Table Views;198
11.1;Table View Basics;199
11.2;Implementing a Simple Table;202
11.3;Adding an Image;207
11.4;Additional Configurations;208
11.5;Customizing Table View Cells;212
11.6;Grouped and Indexed Sections;222
11.7;Implementing a Search Bar;228
11.8;Putting It All on the Table;243
12;Navigation Controllers and Table Views;244
12.1;Navigation Controllers;245
12.2;Nav, a Hierarchical Application in Six Parts;246
12.3;Constructing the Nav Application’s Skeleton;249
12.4;Our First Subcontroller: The Disclosure Button View;257
12.5;Our Second Subcontroller: The Checklist;265
12.6;Our Third Subcontroller: Controls on Table Rows;270
12.7;Our Fourth Subcontroller: Moveable Rows;276
12.8;Our Fifth Subcontroller: Deletable Rows;283
12.9;Our Sixth Subcontroller: An Editable Detail Pane;289
12.10;But There’s One More Thing. . .;311
12.11;Breaking the Tape;314
13;Application Settings and User Defaults;315
13.1;Getting to Know Your Settings Bundle;316
13.2;The AppSettings Application;317
13.3;Creating the Project;318
13.4;Working with the Settings Bundle;321
13.5;Reading Settings in Our Application;331
13.6;Changing Defaults from Our Application;335
13.7;Beam Me Up, Scotty;339
14;Basic Data Persistence;340
14.1;Your Application’s Sandbox;341
14.2;File Saving Strategies;343
14.3;Persisting Application Data;344
14.4;The Persistence Application;346
14.5;The Archiving Application;356
14.6;Using iPhone’s Embedded SQLite3;361
14.7;Persistence Rewarded;370
15;Drawing with Quartz and OpenGL;371
15.1;Two Views of a Graphical World;372
15.2;This Chapter’s Drawing Application;373
15.3;The Quartz Approach to Drawing;373
15.4;Building the QuartzFun Application;378
15.5;Some OpenGL ES Basics;398
15.6;Drawing a Blank;410
16;Taps, Touches, and Gestures;411
16.1;Multitouch Terminology;412
16.2;The Responder Chain;412
16.3;The Multitouch Architecture;414
16.4;The Touch Explorer Application;416
16.5;The Swipes Application;420
16.6;Implementing Multiple Swipes;423
16.7;Detecting Multiple Taps;426
16.8;Detecting Pinches;430
16.9;Defining Custom Gestures;434
16.10;Garçon? Check, Please!;438
17;Where Am I? Finding Your Way with Core Location;439
17.1;The Location Manager;440
17.2;The Location Manager Delegate;441
17.3;Trying Out Core Location;444
17.4;Wherever You Go, There You Are;449
18;Whee!;450
18.1;Accelerometer Physics;450
18.2;Accessing the Accelerometer;451
18.3;Shake and Break;456
18.4;The Rolling Marble Program;461
18.5;Rolling On;470
19;iPhone Camera and Photo Library;471
19.1;Using the Image Picker and UIImagePickerController;472
19.2;Implementing the Image Picker Controller Delegate;473
19.3;Road Testing the Camera and Library;475
19.4;It’s a Snap!;480
20;Application Localization;481
20.1;Localization Architecture;481
20.2;Using String Files;483
20.3;Real- World iPhone: Localizing Your Application;485
20.4;Auf Wiedersehen;498
21;Where to Next?;499
21.1;Getting Unstuck;499
21.2;Farewell;502
22;Index;503



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.