0%

Book Description

"The entry to the world of iPhone."

-Aiden Montgomery, Wile Ltd.

"If you're new to iPhone development, this is your book!"

-Larry C. Whipple, Mobile Productivity, Inc.

"Get this book. It's pure gold."

-Martijn Dashorst, Author of Wicket in Action

"The quick & easy guide."

-Premkumar Rajendran, HCL Technologies

"The only book on iPhone development I will ever need."

-Rama Krishna Vavilala, Author of ASP.NET AJAX in Action

The iPhone explodes old ideas of a cell phone. Its native SDK offers a remarkable range of features including easy-to-build graphical objects, a unique navigation system, and a built-in database, all on a location-knowledgeable device. Websites and web apps can now behave like native iPhone apps, with great network integration.

iPhone in Action is an in-depth introduction to both native and web programming for the iPhone. You'll learn how to turn your web pages into compelling iPhone web apps using WebKit, iUI, and Canvas. The authors also take you step by step into more complex Objective-C programming. They help you master the iPhone SDK including its UI and features like accelerometers, GPS, the Address Book, SQLite, and many more. Using Apple's standard tools like Dashcode, Xcode, and Interface Builder, you'll learn how to best use both approaches: iPhone web and SDK programming. This book is intended as an introduction to its topics. Proficiency with C, Cocoa, or Objective-C is helpful but not required.

What's Inside

  • A comprehensive tutorial for iPhone programming

  • Web development, the SDK, and hybrid coding

  • Over 60 web, Dashcode, and SDK examples

Table of Contents

  1. Copyright
  2. Brief Table of Contents
  3. Table of Contents
  4. List of Figures
  5. List of Tables
  6. List of Listings
  7. Preface
  8. Acknowledgments
  9. About this book
  10. Part 1. Introducing iPhone programming
  11. Chapter 1. Introducing the iPhone
  12. Chapter 2. Web development or the SDK?
  13. Part 2. Designing web pages for the iPhone
  14. Chapter 3. Redeveloping web pages for the iPhone
  15. Chapter 4. Advanced WebKit and textual web apps
  16. Chapter 5. Using iUI for web apps
  17. Chapter 6. Using Canvas for web apps
  18. Chapter 7. Building web apps with Dashcode
  19. Chapter 8. Debugging iPhone web pages
  20. Chapter 9. SDK programming for web developers
  21. Part 3. Learning SDK fundamentals
  22. Chapter 10. Learning Objective-C and the iPhone OS
  23. Chapter 11. Using Xcode
  24. Chapter 12. Using Interface Builder
  25. Chapter 13. Creating basic view controllers
  26. Chapter 14. Monitoring events and actions
  27. Chapter 15. Creating advanced view controllers
  28. Part 4. Programming with the SDK Toolkit
  29. Chapter 16. Data: actions, preferences, files, SQLite, and addresses
  30. Chapter 17. Positioning: accelerometers and location
  31. Chapter 18. Media: images and sounds
  32. Chapter 19. Graphics: Quartz, Core Animation, and OpenGL
  33. Chapter 20. The web: web views and internet protocols
  34. Appendix A. iPhone OS class reference
  35. Appendix B. External sources and references
  36. Appendix C. Publishing your SDK program
  37. Index