Now web designers and developers can join the iPhone app party without having to learn Cocoa's Objective-C programming language. It's true: You can write iPhone apps quickly and efficiently using your existing skills with HTML, CSS, and JavaScript. This book shows you how with lots of detailed examples, step-by-step instructions, and hands-on exercises.
Learn how to build iPhone apps with standard web tools
Refactor a traditional website into an iPhone web app
Hook into advanced iPhone features (e.g. accelerometer, geolocation, vibration, and sound) with JavaScript
Do most of your development with the operating system of your choice
Inhaltsverzeichnis
Dedication;
Preface;
Who Should Read This Book;
What You Need to Use This Book;
Conventions Used in This Book;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Acknowledgments;
Chapter 1: Getting Started;
1.1 Web Apps Versus Native Apps;
1.2 Web Programming Crash Course;
Chapter 2: Basic iPhone Styling;
2.1 First Steps;
2.2 Adding the iPhone CSS;
2.3 Adding the iPhone Look and Feel;
2.4 Adding Basic Behavior with jQuery;
2.5 What You've Learned;
Chapter 3: Advanced iPhone Styling;
3.1 Adding a Touch of Ajax;
3.2 Traffic Cop;
3.3 Simple Bells and Whistles;
3.4 Roll Your Own Back Button;
3.5 Adding an Icon to the Home Screen;
3.6 Full Screen Mode;
3.7 What You've Learned;
Chapter 4: Animation;
4.1 With a Little Help from Our Friend;
4.2 Sliding Home;
4.3 Adding the Dates Panel;
4.4 Adding the Date Panel;
4.5 Adding the New Entry Panel;
4.6 Adding the Settings Panel;
4.7 Putting It All Together;
4.8 Customizing jQTouch;
4.9 What You've Learned;
Chapter 5: Client-Side Data Storage;
5.1 localStorage and sessionStorage;
5.2 Client-Side Database;
5.3 What You've Learned;
Chapter 6: Going Offline;
6.1 The Basics of the Offline Application Cache;
6.2 Online Whitelist and Fallback Options;
6.3 Creating a Dynamic Manifest File;
6.4 Debugging;
6.5 What You've Learned;
Chapter 7: Going Native;
7.1 Intro to PhoneGap;
7.2 Installing Your App on the iPhone;
7.3 Controlling the iPhone with JavaScript;
7.4 What You've Learned;
Chapter 8: Submitting Your App to iTunes;
8.1 Creating an iPhone Distribution Provisioning Profile;
8.2 Installing the iPhone Distribution Provisioning Profile;
8.3 Renaming the Project;
8.4 Prepare the Application Binary;
8.5 Submit Your App;
8.6 While You Wait;
8.7 Further Reading;
Colophon;