Newcomers ask this question a lot. I’ve posted my response to this under the link, “Which programming language should I learn to make apps?” I hope it helps to narrow down your choice of languages to start learning. I posted it here so I can point to it when I encounter the question in forum posts.
Currently, Weinre, developed by Patrick Mueller, only works in Webkit-based browsers like Google and Safari, as used in iPhone and Android devices. Here are the steps to download and install the software tool, and get it running on an iPod touch device running an app which uses Cordova PhoneGap. These steps are extremely thorough, designed for newbies to coding. (You’re welcome.)
If you use HTML5 Local Storage or SQLite in your iPhone apps, you’ll want to read the urgent forum thread on the Apple Developer Forums here: https://devforums.apple.com/thread/123107?start=0&tstart=0 (signin required).
Due to Apple NDA rules, I can’t divulge more, only that you may want to find another way to persist information if the current beta becomes final.
See another article on my site that now addresses this problem.
Xcode 4 Transition Guide
Link: [Sign in to your iOS Developer account] > iOS Dev Center > iOS Developer Library > Resource Types > Guides
These are notes based on the Xcode 4 Transition Guide (page numbers refer to the PDF) that I found helpful to me. This guide gives you an overview of the many refinements made during the transition from Xcode 3 to 4. Well worth a look if you are not using Xcode 4 regularly and would like to know more about its features. The following notes are of particular interest to me; you’ll find much more in the document than what I’ve written.
I successfully finished an online tutorial. I had several serious problems, but all of them were my fault – typos. Here’s the result. I took screen grabs of the iPhone Simulator as I took the steps. In step one above left I have a text box at top, directions in the middle (“Enter your name above”), and a “Display” button below. In Step 2, when I “tapped” the text box using the mouse, the keyboard automatically slid up from the bottom. I typed in my name and clicked on the Display button. Step three shows the result: the middle text changed to “Hello Steve!” Continue reading
I entered huge amount of coding when I followed the steps in chapter 8 of the Dummies book. After each time I entered the code for that step, I carefully checked the code. After finishing chapter 9, I compiled the code and it generated 20 errors. It wasn’t simply the amount of code to enter in, but switching back and forth from the header file and the main file that makes it hard to double-check. (These projects generate a lot of pages, and you need to enter the code in the right page and after the right code, usually a header page and a main page.) When you jump around like that, it makes it harder to check your code at a later point. Continue reading
I received the book, iPhone Application Development for Dummies by Neal Gordstein a couple of days ago. I’m nearly halfway through it now. Unlike the Beginning iPhone Development book, it doesn’t have a lot of applications to make (it goes over just one so far). However, it has a LOT of explanations for how things work under the hood, so that is this book’s strength. The author does expect you to have some experience with programming.
Would this book have been a better book to start with? I don’t know. Remember that I already have several docs under my belt – the Beginning book above and the online Apple docs, so all that knowledge is only helping me as I read later works. It is extremely focused on learning what’s under the hood. I think that if I had not had the experience with Beginning, then the explanations in for Dummies would have made less sense than it did. The abstract line drawings would not be as clear as they could be for someone who has not had C or C++ programming experience. Continue reading