iPhone Developer's Cookbook, The by Erica Sadun - Bookswagon
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Digital Lifestyle and online world: consumer and user guides > Mobile phones and smartphones: consumer / user guides > iPhone Developer's Cookbook, The: Building Applications with the iPhone SDK(Developer's Library)
iPhone Developer's Cookbook, The: Building Applications with the iPhone SDK(Developer's Library)

iPhone Developer's Cookbook, The: Building Applications with the iPhone SDK(Developer's Library)


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

This is the eBook version of the printed book. If the print book includes a CD-ROM, this content is not included within the eBook version. The iPhone and iPod touch aren’t just attracting millions of new users; their breakthrough development platform enables programmers to build tomorrow’s killer applications. If you’re getting started with iPhone programming, this book brings together tested, ready-to-use code for hundreds of the challenges you’re most likely to encounter. Use this fully documented, easy-to-customize code to get productive fast—and focus your time on the specifics of your application, not boilerplate tasks.   Leading iPhone developer Erica Sadun begins by exploring the iPhone delivery platform and SDK, helping you set up your development environment, and showing how iPhone applications are constructed. Next, she offers single-task recipes for the full spectrum of iPhone/iPod touch programming jobs: Utilize views and tables Organize interface elements Alert and respond to users Access the Address Book (people), Core Location (places), and Sensors (things) Connect to the Internet and Web services Display media content Create secure Keychain entries And much more   You’ll even discover how to use Cover Flow to create gorgeous visual selection experiences that put scrolling lists to shame!   This book is organized for fast access: related tasks are grouped together, and you can jump directly to the right solution, even if you don’t know which class or framework to use. All code is based on Apple’s publicly released iPhone SDK, not a beta. No matter what iPhone projects come your way, The iPhone Developer’s Cookbook will be your indispensable companion.

Table of Contents:
    Preface xvii     Acknowledgments xxi     About the Author xxii   1 Introducing the iPhone SDK 1     Apple’s iPhone SDK 1     Assembling iPhone Projects 2     iPhone Application Components 4         Application Folder Hierarchy 4         The Executable 4         The Info.plist File 4         The Icon and Default Images 6         XIB (NIB) files 6         Files Not Found in the Application Bundle 7         Sandboxes 7     Platform Limitations 8         Storage Limits 8         Data Access Limits 8         Memory Limits 8         Interaction Limits 9         Energy Limits 9         Application Limits 9         User Behavior Limits 10     SDK Limitations 10     Programming Paradigms 11         Object-Oriented Programming 11         Model-View-Controller 11     Building an iPhone Application Skeleton 18     The Hello World Application 19         The Classes 19         The Code 20         A Note About Sample Code and Memory Management 20     Building Hello World 23         Create an iPhone Project 23         Running the Skeleton 24         Customize the iPhone Project 24         Editing Identification Information 25         Using the Debugger 26     Apple’s iPhone Developer Program 28         Development Phones 28         Application Identifiers 29     From Xcode to Your iPhone: The Organizer Interface 30         Projects and Sources List 30         Devices List 31         Summary Tab 31         Console Tab 31         Crash Logs Tab 31         Screenshot Tab 32         About Tethering 32         Testing Applications on Your iPhone 32         Compiling for Distribution 33     Using Undocumented API Calls 34     Ad Hoc Distribution 35     Summary 36   2 Views 37     UIView and UIWindow 37         Hierarchy 37         Geometry and Traits 39         Gestures 42     Recipe: Adding Stepwise Subviews 42         Reorienting 44     Recipe: Dragging Views 45         UITouch 46         Adding Persistence 48     Recipe: Clipped Views 51         Balancing Touches with Clipping 53         Accessing Pixel-by-Pixel Values 54     Recipe: Detecting Multitouch 56     UIView Animations 59         Building UIView Animation Blocks 59     Recipe: Fading a View In and Out 60     Recipe: Swapping Views 62     Recipe: Flipping Views 64     Recipe: Applying CATransitions to Layers 66         Undocumented Animation Types 67         General Core Animation Calls 68     Recipe: Swiping Views 69     Recipe: Transforming Views 72         Centering Landscape Views 74     Summary 74   3 View Controllers 77     View Management 77         Core Classes 77         Specialized Classes 78         Creating a UIViewController 79     Working with Interface Builder to Build Views for     UIViewControllers 81         Temperature Conversion Example 81         Loading XIB Files Directly 90     Navigation Controllers 91         Setting Up a Navigation Controller 91         Pushing and Popping View Controllers 92         The Navigation Item Class 92     Recipe: Building a Simple Two-Item Menu 93     Recipe: Adding a Segmented Control 95     Recipe: Adding a UIToolbar to a Navigation Bar 97     Recipe: Navigating Between View Controllers 100         Popping Back to the Root 102         Loading a View Controller Array 102     Tab Bars 103     Summary 106   4 Alerting Users 107     Talking Directly to Your User Through Alerts 107         Logging Your Results 108         Building Alerts 109         Displaying the Alert 110     Recipe: Creating Multiline Button Displays 110     Recipe: Autotimed No-Button Alerts 112     Recipe: Soliciting Text Input from the User 113     Recipe: Presenting Simple Menus 115     “Please Wait”: Showing Progress to Your User 117     Recipe: Invoking the Basic Undocumented UIProgressHUD 117     Recipe: Using UIActivityIndicatorView 119     Recipe: Building a UIProgressView 121     Recipe: Adding Custom, Tappable Overlays 123     Recipe: Building a Scroll-Down Alert 127     Recipe: Adding Status Bar Images 131     Adding Application Badges 132     Recipe: Simple Audio Alerts 134         Vibration 136     Summary 136   5 Basic Tables 139     Introducing UITableView and UITableViewController 139         Creating the Table 140         What the UITableViewController Does 141     Recipe: Creating a Simple List Table 142         Data Source Functions 142         Reusing Cells 143         Font Table Sample 143     Recipe: Creating a Table-Based Selection Sheet 145     Recipe: Loading Images into Table Cells 149     Recipe: Setting a Cell’s Text Traits 151     Removing Cell Selections 152     Recipe: Creating Complex Cells 153     Recipe: Creating Checked Selections 155     Recipe: Deleting Cells 157         Creating and Displaying Remove Controls 157         Dismissing Remove Controls 158         Handling Delete Requests 158         Swiping Cells 158         Adding Cells 159     Recipe: Reordering Cells 161     Recipe: Working with Disclosures 162     Summary 164       6 Advanced Tables 165     Recipe: Grouping Table Selections 165         Building a Section-Based Data Source 166         Adding Section Headers 170     Recipe: Building a Section Table with an Index 171     Recipe: Custom Cell Backgrounds 172         Customizing the Table View 176     Recipe: Creating Alternate Blue and White Cells 177     Recipe: Framing Tables 179     Recipe: Adding Coupled Cell Controls 180     Recipe: Building a Multiwheel Table 182         Creating the UIPickerView 183     Recipe: Using the UIDatePicker 186         Creating the Date Picker 186     Recipe: Creating Fully Customized Group Tables 189         Creating Grouped Preferences Tables 189     Summary 195   7 Media 197     Recipe: Browsing the Documents Folder by File Type 197         Locating Documents 198     Loading and Viewing Images 200     Recipe: Displaying Small Images 201     Recipe: Using a UIWebView to Display Images 203         Displaying Web Pages with UIWebView 205     Recipe: Browsing Your Image Library 206     Recipe: Selecting and Customizing Images from the Camera Roll 209     Recipe: Snapping Pictures with the iPhone Camera 212     Working with iPhone Audio 214     Recipe: Playing Audio with Celestial 215     Recipe: Using the Media Player for Audio and Video Playback 217     Recipe: Recording Audio 219     Reading in Text Data 227         Displaying Property Lists 227     Recovering Media from Backup Files 228     Summary 229   8 Controls 231     Recipe: Building Simple Buttons 231         The UIButton class 232         Building Custom Buttons 233         Glass Buttons 236     Recipe: Adding Animated Elements to Buttons 236     Recipe: Animating Button Responses 238     Recipe: Customizing Switches 239         Customizing UIAlertView Buttons 241     Recipe: Adding Custom Slider Thumbs 242         Adding Text to the Slider 246     Recipe: Dismissing a UITextField Keyboard 246     Recipe: Dismissing UITextView Keyboards 248     Recipe: Adding an Undo Button to Text Views 250     Recipe: Creating a Text View—Based HTML Editor 253     Recipe: Building an Interactive Search Bar 255     Recipe: Adding Callout Views 258     Adding a Page Indicator Control 260     Recipe: Customizing Toolbars 263         Toolbar Tips 266     Summary 267   9 People, Places, and Things 269     Address Book Frameworks 269         Address Book UI 269         Address Book 270     Recipe: Accessing Address Book Image Data 271     Recipe: Displaying Address Book Information 273     Recipe: Browsing the Address Book 274         Browsing for (Only) E-Mail Addresses 277         Adding New Contacts 277     Core Location 278         How Core Location Works 278     Recipe: Core Location in a Nutshell 280     Recipe: Reverse Geocoding to an Address 283     Recipe: Accessing Maps Using Core Location Data 286     Recipe: Accessing Core Device Information 288     Recipe: Enabling and Disabling the Proximity Sensor 289     Recipe: Using Acceleration to Locate “Up” 290     Recipe: Using Acceleration to Move Onscreen Objects 292     Summary 295   10 Connecting to Services 297     Recipe: Adding Custom Settings Bundles 297         Declaring Application Settings 297     Recipe: Subscribing Applications to Custom URL Schemes 302     Recipe: Checking Your Network Status 304         Testing the Network Status 304         Recovering a Local IP Address 305         Querying Site IP Addresses 306         Checking Site Availability 307     Recipe: Interacting with iPhone Databases 308     Recipe: Converting XML into Trees 311     Recipe: Storing and Retrieving Keychain Items 313             Storing Multiple Keychain Values 318             Keychain Persistence 319     Sending and Receiving Files 320     Recipe: Building a Simple Web-Based Server 321     Push Notifications 325     Summary 326   11 One More Thing: Programming Cover Flow 327     The UICoverFlowLayer Class 327     Building a Cover Flow View 329     Building a Cover Flow View Controller 331         Cover Flow Data Source Methods 332         Cover Flow Delegate Methods 333     Summary 336   Index 357

About the Author :
Erica Sadun has written, coauthored, and contributed to about three dozen books about technology, particularly in the areas of programming, digital video, and digital photography. An unrepentant geek, Sadun has never met a gadget she didn’t need. Her checkered past includes run-ins with NeXT, Newton, iPhone, and myriad successful and unsuccessful technologies. When not writing, she and her geek husband parent three adorable geeks-in-training, who regard their parents with restrained bemusement.


Best Sellers


Product Details
  • ISBN-13: 9780321553515
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison-Wesley Educational Publishers Inc
  • Language: English
  • Series Title: Developer's Library
  • Weight: 1 gr
  • ISBN-10: 0321553519
  • Publisher Date: 07 Nov 2008
  • Binding: Digital download
  • No of Pages: 384
  • Sub Title: Building Applications with the iPhone SDK


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
iPhone Developer's Cookbook, The: Building Applications with the iPhone SDK(Developer's Library)
Pearson Education (US) -
iPhone Developer's Cookbook, The: Building Applications with the iPhone SDK(Developer's Library)
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

iPhone Developer's Cookbook, The: Building Applications with the iPhone SDK(Developer's Library)

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!