๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

iPhone SDK Development

โœ Scribed by Bill Dudney, Christopher Adamson


Publisher
Pragmatic Bookshelf
Year
2009
Tongue
English
Leaves
561
Series
The Pragmatic Programmers
Edition
1
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


Packing the power of desktop applications into a small mobile device, the iPhone SDK offers developers the ability to create dynamic, visually-appealing, and highly-capable mobile applications, using the same APIs and tools that Apple uses for its own applications. However, harnessing that power means learning new tools, new APIs, and even a whole new programming language. iPhone SDK Development is a Pragmatic guide to get you started developing applications for iPhone and iPod touch. With it, you'll get a complete understanding of the tools and techniques needed to succeed on the platform: Use the XCode IDE to manage your source code, images, sounds, database files, and other application resources, building your app and deploying it onto your own device for testing. Develop your user interface the visual, code-free way, with Interface Builder. Master the iPhone's unique user interface components, including tables, tab bars, navigation bars, and the multi-touch interface. Connect your iPhone to the outside world with networking, exploit the power of a relational database with SQLite, and rock out with first-class support for audio and video. Make use of the iPhone's unique mobile APIs, like geolocation and the motion-sensing accelerometer Use XCode's powerful performance and debugging tools to eliminate memory leaks, zombies, and other hazards. * Understand the process for packaging your application for end-user distribution through Apple's App Store. With explanations of the big picture and an eye to the little details that you'll need, iPhone SDK Development will help you succeed on today's most important mobile platform.

โœฆ Table of Contents


Contents......Page 7
Foreword......Page 13
Introduction......Page 15
In This Book......Page 17
Acknowledgments......Page 19
Gearing Up......Page 22
Create the Hello iPhone Project......Page 24
Creating a Simple Interface......Page 26
Rotating the Text---Adjusting the UI......Page 29
Rotating the Text---Adjusting the Code......Page 30
Code Navigation......Page 31
Running Your App on Your iPhone......Page 32
iPhone Development Fundamentals......Page 35
Coding in Objective-C......Page 36
Essential Cocoa Touch Classes......Page 38
Working with Xcode and Interface Builder......Page 40
Anatomy of Your iPhone Application......Page 50
Customizing Behavior with Delegation......Page 52
Managing Application Memory......Page 56
Accessing Variables as Properties......Page 57
Take-Away: Stuff to Remember......Page 60
Implementing a Button Action......Page 62
Building a Model......Page 67
Adding Outlets and Actions to the Controller......Page 69
Updating the UI......Page 71
Implementing the Controller......Page 73
Creating the New View Controller......Page 75
Building the UI......Page 79
Making the MovieEditorViewController......Page 83
The Editing View Controller in Interface Builder......Page 84
Parts of a Table......Page 86
Setting Up Table-Based Navigation......Page 88
Modeling Table Data......Page 89
Table Cells......Page 92
Editing Tables......Page 96
Navigating with Tables......Page 98
Custom Table View Cells......Page 105
Sorting Table Data......Page 109
Navigating Through Mail......Page 114
The Navigation Controller......Page 115
Navigation-Based Applications......Page 116
Pushing View Controllers......Page 120
Customizing the Navigation Bar......Page 121
Popping View Controllers......Page 126
When to Use Tabs......Page 127
Creating a Tab Bar Controller......Page 128
View Controllers in Tab Controllers......Page 130
Many Controllers......Page 135
File I/O......Page 138
Exploring Your Filesystem......Page 139
Creating Our Project......Page 142
Getting File Attributes......Page 148
Reading Data from Files......Page 153
Asynchronous File Reading......Page 157
Creating and Deleting Files and Directories......Page 161
Writing Data to Files......Page 167
Property Lists and NSCoding......Page 170
Displaying a Flippable Preference View in Your Application......Page 172
Managing Preferences......Page 175
Changing and Updating Preferences......Page 178
Side Trip: Updating the Clock Label Every Second......Page 181
Using the System Settings Application for Preferences......Page 182
Loading Preferences Configured in the Settings Application......Page 190
The SQLite Database......Page 194
Creating Your Database......Page 195
Creating the Sample Application......Page 198
Putting Your Database on the Device......Page 200
Using Your Database on the Device......Page 203
Core Data......Page 212
The Conference Application......Page 213
The Core Data Stack......Page 216
Building the Core Data Stack......Page 219
Modeling......Page 222
Track Table View......Page 228
Change the Tracks......Page 233
Navigation......Page 237
Building a Browser in Ten Minutes with UIWebView......Page 244
Reading Data from the Network......Page 249
HTTP Authentication......Page 255
Parsing XML from Web Services......Page 262
Sending Mail from Your Application......Page 273
Using Ad Hoc Network Services with Bonjour......Page 277
Bonjour Service Discovery......Page 279
Game Kit Overview......Page 285
Setting Up a Bluetooth-Networked Game......Page 286
Setting Up a Peer Picker......Page 288
Providing a Peer Picker Delegate......Page 289
Network Game Logic......Page 292
Communicating via the GKSession......Page 294
Voice Chat......Page 298
Video Playback with MPMoviePlayerController......Page 301
Receiving Notifications from the Movie Player......Page 305
Supported Media Formats......Page 307
Monitoring iPod Playback......Page 310
Controlling iPod Playback......Page 319
Using the iPod Library......Page 321
Browsing the iPod Library......Page 331
Creating an AVAudioRecorder......Page 334
Uncompressed Audio Formats......Page 338
Encoded Audio Formats......Page 342
Using the AVAudioRecorder......Page 346
Monitoring Recording Levels......Page 350
Playing Audio with the AVFramework......Page 355
Interacting with Audio Sessions......Page 360
Core Audio......Page 363
Using the Procedural-C APIs......Page 364
Playing System Sounds......Page 366
A Core Audio Overview......Page 372
Event Model......Page 378
Tracking Touches......Page 380
Tapping......Page 383
Multi-Touch Gestures......Page 384
Drawing Model......Page 390
Vector Drawing......Page 391
Paths......Page 392
Graphics Context......Page 397
Redisplaying a View......Page 399
Drawing Images and Photos......Page 401
Basic Image Drawing......Page 402
Customizing the Image Display......Page 404
Image Picker......Page 406
Capturing Video......Page 410
Introduction to Core Animation......Page 412
Animating UIView......Page 413
Layers......Page 419
OpenGL ES......Page 422
Accelerometer......Page 426
Getting Device Orientation......Page 427
Getting Shakes from the UIResponder Chain......Page 428
Getting Raw Accelerometer Data......Page 429
Filtering Accelerometer Data......Page 435
Address Book UI......Page 443
People Picker Delegate......Page 444
Creating and Configuring the People Picker......Page 446
Person Controller......Page 447
Adding New Contacts......Page 449
Knowing Where......Page 453
Location Updates......Page 458
Compass......Page 462
Contact Mapper......Page 465
Showing a Map......Page 466
Map Annotations......Page 469
Selecting an Annotation......Page 479
Launching Other Applications......Page 482
Becoming Integration Ready......Page 484
Debugging......Page 488
Understanding and Fixing Build Errors......Page 489
Understanding and Fixing Importing/Linking Errors......Page 491
Using iPhone SDK Documentation......Page 493
Understanding and Fixing Interface Builder Errors......Page 497
Debugging......Page 498
Finding Over-Released ``Zombie'' Objects......Page 506
Performance Tuning......Page 512
Investigating Performance with Shark......Page 513
Investigating Performance with Instruments......Page 518
Investigating Performance with the Clang Static Analyzer......Page 524
Before and After......Page 530
Starting Right......Page 531
Polish......Page 535
Other Features......Page 536
Beta Testing......Page 537
Getting into the Store......Page 538
Promoting Your Application......Page 539
Bibliography......Page 541
A......Page 544
C......Page 545
D......Page 547
G......Page 548
I......Page 549
M......Page 550
O......Page 551
P......Page 552
S......Page 553
U......Page 554
X......Page 555
Z......Page 556


๐Ÿ“œ SIMILAR VOLUMES


iPhone SDK Development
โœ Bill Dudney, Christopher Adamson ๐Ÿ“‚ Library ๐Ÿ“… 2009 ๐Ÿ› Pragmatic Bookshelf ๐ŸŒ English

<DIV><p>Packing the power of desktop applications into a small mobile device, the iPhone SDK offers developers the ability to create dynamic, visually-appealing, and highly-capable mobile applications, using the same APIs and tools that Apple uses for its own applications. However, harnessing that

iPhone SDK Development
โœ Bill Dudney, Chris Adamson ๐Ÿ“‚ Library ๐ŸŒ English

Packing the power of desktop applications into a small mobile device, the iPhone SDK offers developers the ability to create dynamic, visually-appealing, and highly-capable mobile applications, using the same APIs and tools that Apple uses for its own applications. However, harnessing that power mea

IPhone SDK development
โœ Bill Dudney; Chris Adamson ๐Ÿ“‚ Library ๐Ÿ“… 2009 ๐Ÿ› Pragmatic Bookshelf ๐ŸŒ English
iPhone SDK development: building iPhone
โœ Bill Dudney, Christopher Adamson ๐Ÿ“‚ Library ๐Ÿ“… 2009 ๐Ÿ› Pragmatic Bookshelf ๐ŸŒ English

Wanted to develop an iPhone application, but had never done any iPhone or even Mac programming before. Excellent step-by-step instructions and detailed examples. Well tested sample code and examples that were surprisingly deep and useful. Can't say enough about how good this book really is. Took me