It's a fact: if you know HTML, CSS, and JavaScript, you already have the tools you need to develop your own iPhone apps. With this book, you'll learn how to use these open source web technologies to design and build apps for both the iPhone and iPod Touch, on the platform of your choice -- ... read more
“I found it difficult to learn Objective-C and I was turned off by the fact that the language was of little use outside of Mac programming. Xcode and Interface Builder were pretty slick, but they weren't my normal authoring environment and I found them hard to get accustomed to. I was infuriated by the hoops I had to jump through just to set up my app and iPhone for testing. The process of getting the app into the App Store was even more byzantine. After a week or two of struggling with these variables, I found myself wondering why I was going to all the trouble. After all, my web apps were already available worldwide- why did I care about being in the App Store?”
“PhoneGap is an open source development tool created by Nitobi (http://www.nitobi.com/) to act as a bridge between web applications and mobile devices. iPhone, Google Android, and BlackBerry operating systems are currently supported, and Nokia and Windows Mobile are in development. In spite of its high profile, the iPhone is not even close to being the most widely used mobile device. The mobile landscape is littered with devices, platforms, and operating systems. If you are a web developer, you might be familiar with the pain of testing 10 or so browser versions across 10 or so operating system versions. Multiply that by 100, and you have mobile.”
“When I first started with iPhone app development, I made a few test App IDs in the Program Portal, assuming that I could later edit or delete them once I figured out how things worked. Well, I was wrong; you can't edit or delete App IDs. This means that two years later, I'm still staring at "JSC Temp App ID" when I log in to the developer portal. If you are anything like me, this will drive you crazy , so don't make the same mistake!”
Unless you tell it otherwise, Safari on the iPhone is going to assume that your page is 980px wideHighlighted by 10 Kindle customers
Note that I have set the overall font for the document to Helvetica, which is the font used by most of the applications on the iPhone. If you are trying to achieve a professional look, you should probably stick with Helvetica unless you have a specific reason not to.Highlighted by 9 Kindle customers
<meta name='viewport' content='user-scalable=no, width=device-width' /> If you don’t set the viewport width, the page will be zoomed way out when it first loads.Highlighted by 7 Kindle customers
max-width: 160px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;Highlighted by 6 Kindle customers
jQuery is a relatively small JavaScript library that allows you to write your JavaScript code in a way that will work the same in a wide variety of browsers.Highlighted by 6 Kindle customers
sudo ipfw pipe 1 config bw 4KByte/s sudo ipfw add 100 pipe 1 tcp from any to me 80Highlighted by 5 Kindle customers
sudo ipfw delete 100 (you can delete all custom rules with ipfw flush).Highlighted by 5 Kindle customers
If you don’t have an iPhone, you can simulate one using Safari. In Safari’s advanced preferences, enable the Develop menu, then select Develop→User Agent and choose the version of Mobile Safari you want to simulate.Highlighted by 5 Kindle customers
CSS Pocket ReferenceHighlighted by 3 Kindle customers
<link rel='stylesheet' href='screen.css' type='text/css' />Highlighted by 3 Kindle customers
We’re hiding the errata, movie connections, books that influenced this book, books influenced by this book, books that cite this book and books cited by this book sections. If you would like to add content to them, you must first make them visible.