Book description
Get the expert guidance you need to begin building native applications for Apple's new iPhone 3G as well as the iPod Touch
Apple's iPhone is the hottest mobile device on the planet. More than one million iPhone 3G phones were sold in the first three days of release and millions more are sure to be in the hands of iPhone fans each year. Apple's iPhone SDK has been updated and includes more than one thousand new APIs that developers will want to get their hands on.
iPhone SDK 3 Programming shows you how to build great applications for the iPhone and iPod Touch. Inside, veteran mobile developer and Bell Labs scientist Maher Ali begins with a foundational introduction to Objective-C and Cocoa programming, and then guides you through building programs with Apple's iPhone SDK 3.
Covers the complete application development process, and highlights all the key device features including the camera, location awareness, and more
Completely revised and redesigned with more than 100 new pages of content
iPhone's new SDK release contains more than one thousand new APIs you will want to use right away
Includes a focused introduction to the Objective-C language and Cocoa frameworks that new iPhone developers need
With this advanced resource, you'll get the expert guidance you need to begin building native applications for Apple's new iPhone 3G as well as the iPod Touch.
Table of contents
- Copyright
- PREFACE
- 1. Getting Started
-
2. Objective-C and Cocoa
- 2.1. Classes
- 2.2. Memory Management
- 2.3. Protocols
- 2.4. Properties
- 2.5. Categories
- 2.6. Posing
- 2.7. Exceptions and Errors
- 2.8. Key-value coding (KVC)
- 2.9. Multithreading
- 2.10. Notifications
-
2.11. The Objective-C Runtime
- 2.11.1. Required header files
- 2.11.2. The NSObject class
- 2.11.3. Objective-C methods
-
2.11.4. Examples
- 2.11.4.1. Obtaining instance and class methods
- 2.11.4.2. Querying response to messages
- 2.11.4.3. Replacing existing implementation
- 2.11.4.4. Patching methods
- 2.11.4.5. Obtaining all methods defined by a class
- 2.11.4.6. Adding a new method
- 2.11.4.7. Sending a message to an object
- 2.11.4.8. Accessing instance variables
- 2.11.4.9. Creating new classes dynamically
- 2.11.4.10. Alternatives to executing methods
- 2.11.4.11. Forwarding messages to other objects
- 2.12. Summary
- 2.13. Problems
- 3. Collections
- 4. Anatomy of an iPhone Application
- 5. The View
- 6. Controls
- 7. View Controllers
- 8. Special-Purpose Views
-
9. Table View
- 9.1. Overview
- 9.2. The Simplest Table View Application
- 9.3. A Table View with both Images and Text
- 9.4. A Table View with Section Headers and Footers
- 9.5. A Table View with the Ability to Delete Rows
- 9.6. A Table View with the Ability to Insert Rows
- 9.7. Reordering Table Rows
- 9.8. Presenting Hierarchical Information
- 9.9. Grouped Table Views
- 9.10. Indexed Table Views
- 9.11. Dynamic Table Views
- 9.12. Whitening Text in Custom Cells
- 9.13. Summary
- 9.14. Problems
- 10. File Management
- 11. Working with Databases
- 12. XML Processing
- 13. Location Awareness
-
14. Working with Devices
- 14.1. Working with the Accelerometer
- 14.2. Working with Audio
- 14.3. Playing Video
- 14.4. Accessing Device Information
- 14.5. Taking and Selecting Pictures
- 14.6. Monitoring Device Battery
- 14.7. Accessing the Proximity Sensor
- 14.8. Summary
- 14.9. Problems
- 15. Internationalization
- 16. Custom UI Components
-
17. Advanced Networking
- 17.1. Determining Network Connectivity
- 17.2. Uploading Multimedia Content
- 17.3. Computing MD5 Hash Value
- 17.4. Multithreaded Downloads
- 17.5. Push Notification
- 17.6. Sending Email
- 17.7. Summary
- 17.8. Problems
-
18. Working with the Address Book Database
- 18.1. Introduction
- 18.2. Property Types
- 18.3. Accessing Single-Value Properties
- 18.4. Accessing Multi-Value Properties
- 18.5. Person and Group Records
- 18.6. Address Book
- 18.7. Multithreading and Identifiers
- 18.8. Person Photo Retriever Application
- 18.9. Using the ABUnknownPersonViewController Class
- 18.10. Using the ABPeoplePickerNavigationController Class
- 18.11. Using the ABPersonViewController Class
- 18.12. Using the ABNewPersonViewController Class
- 18.13. Summary
- 18.14. Problems
- 19. Core Data
- 20. Undo Management
- 21. Copy and Paste
- A. Saving and Restoring App State
- B. Invoking External Applications
- C. App Store Distribution
- D. Using XCode
- E. Unit Testing
- F. Working with Interface Builder
- REFERENCES AND BIBLIOGRAPHY
Product information
- Title: iPhone SDK 3 Programming: Advanced Mobile Development for Apple iPhone and iPod touch
- Author(s):
- Release date: August 2009
- Publisher(s): Wiley
- ISBN: 9780470683989
You might also like
book
Python for Algorithmic Trading
Financial trading, once the exclusive domain of institutional players, is now open to small organizations and …
book
Wireless and Mobile Device Security
The world of wireless and mobile devices is evolving day-to-day, with many individuals relying solely on …
book
The Linux Programming Interface
The Linux Programming Interface is the definitive guide to the Linux and UNIX programming interface—the interface …
book
Applied Natural Language Processing with Python : Implementing Machine Learning and Deep Learning Algorithms for Natural Language Processing
Learn to harness the power of AI for natural language processing, performing tasks such as spell …