: Jeff LaMarche, David Mark
: Beginning iPhone Development Exploring the iPhone SDK
: Apress
: 9781430216278
: 1
: CHF 29.20
:
: Allgemeines, Lexika
: English
: 536
: Wasserzeichen/DRM
: PC/MAC/eReader/Tablet
: PDF

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, thenBeginning 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.blog pot.com.
Contents6
Acknowledgments17
Preface18
Welcome to the Jungle19
What This Book Is19
What You Need Before You Can Begin20
What You Need to Know Before You Begin22
What s Different About Coding for iPhone?23
What s in This Book26
Are You Ready?28
Appeasing the Tiki Gods29
Setting Up Your Project in Xcode29
Introducing Interface Builder35
Some iPhone Polish Finishing Touches41
Bring It on Home45
Handling Basic Interaction46
The Model- View-Controller Paradigm47
Creating Our Project48
Creating the View Controller48
Using the Application Delegate58
Editing MainWindow.xib61
Editing Button_FunViewController.xib62
Bring It on Home69
More User Interface Fun70
A Screen Full of Controls71
Active, Static, and Passive Controls72
Creating the Application73
Build and Run84
Implementing the Slider and Label87
Implementing the Switches and Segmented Control91
Implementing the Button, Action Sheet, and Alert96
Showing an Action Sheet98
Spiffing Up the Button101
Crossing the Finish Line104
Autorotation and Autosizing105
Handling Rotation Using Autosize Attributes107
Restructuring a View When Rotated113
Swapping Views118
Rotating Out of Here127
Multiview Applications128
The View Switcher Application131
The Architecture of a Multiview Application132
Building View Switcher133
Animating the Transition147
Refactoring150
Switching Off152
Tab Bars and Pickers153
The Pickers Application154
Delegates and Datasources155
Setting Up the Tab Bar Framework156
Implementing the Date Picker162
Implementing the Single Component Picker165
Implementing a Multicomponent Picker172
Implementing Dependent Components177
Creating a Simple Game with a Custom Picker184
Final Spin197
Introduction to Table Views198
Table View Basics199
Implementing a Simple Table202
Adding an Image207
Additional Configurations208
Customiz