I am now attending a session on developing Web applications for the iPhone and iPod Touch. The presenter is Steve VanBrackle. Unfortunately, I have already discovered that this session is going to be completely dependent upon a Mac program called DashCode, for which there appears to be no Windows alternative. The interface for DashCode appears insanely easy to use, though.
To begin, VanBrackle simply created a new project. A working shell app was immediately created for him to edit and customize. All of the buttons, bars, etc. are automatically generated as part of the app.
He is now demonstrating how simple it is to click and drag information from a data store into the app. For the most part, it’s creating a JSON file to generate the data that’s being displayed in the application. Because of this format, it is easy to create the app a single time and then replace the data without having to redo everything.
At this point, he’s showing us how to add new buttons to the application, once again using click and drag interfaces. Once he places the button, a dialog appears presenting him with the choice of various event handlers that are available on the iPhone with buttons. By clicking one of the event handlers and typing the name of a function, a new, empty function is automatically created in the code window, allowing him to insert his custom code into the function.