Developing iOS apps as web developer

appleiphone

My Boss has sold a few 'iPhone apps' to clients, we are a web development shop. I have explained to him that I do not know the first thing about them, but it's such a powerful buzz-word and we need to meet clients expectations. I do have some experience in C, Java and Python which should help if I need to use objective-C. I have even done a few Android tutorials.

These apps will more or less be HTML, in my mind they are not real apps, but faux apps which have the same functionality as the clients' websites. To me a real app is something that uses the phones hardware inputs and outputs, gps, accelerometer, speaker etc.

What resources can I use to get up to speed iOS development and how to build apps in html. I have no idea where to begin.

Best Answer

I made the same switch this year. I've been a web developer since 1998, and last April got hired by a company that basically did the same thing--sold some iPhone projects and then figured out how to deliver them.

It was a solid month before I wrote ANYTHING that ended up in production code. That month was one of the most intense periods of learning I've ever had in my life. I went home each night with my brain leaking out of my ears. I was literally dreaming about iPhone development--I remember a dream one night in which a girl was wearing a one-piece bathing suit made out of a UITableView. It was scrollable and everything.

It's similar to web development in a couple aspects, and a couple aspects ONLY. Control flow within a method is similar. How methods get called is entirely different, but an if statement is still an if statement. It still has all the data types you're used to dealing with (arrays, associative arrays, strings, etc) but it calls them different things, and most of the time they're objects but some gotcha times they're not. It's MVC, but not the way you're used to thinking of. Doing web requests from it sort of feels like writing AJAX calls, though of course the syntax and control flow are pretty different (actually, the new blocks interface in ASIHTTP makes it closer to jQuery than it used to be!).

There are a couple projects mentioned in this thread (PhoneGap, Appcellerator) that basically wrap a UIWebView with your HTML/JS content and make a native app out of that. Compared to the native API, they're not much, but they do flatten the learning curve significantly, and for the apps you describe they might well be sufficient.

Related Topic