Main Content

Seeing how Melksham has changed over the years, via an iPad

Archive - Originally posted on "The Horse's Mouth" - 2012-01-30 23:24:16 - Graham Ellis

I spent some time over the weekend working my way into iPad and iPhone programming, using XCode, and already I've written a "toy" application which lets me drag a slider and move through overlaid maps of Melksham to see how the town has grown over the years.


The original map is dated 1888, and the overlay that's starting to burst through here is more or less up to date. It's very interesting to see how the course of the river was adjusted when the bypass was built ...


Without bundling up all the source images and much more, I can't publish the full application development resources here - but I HAVE included the view controller header file and the view controller source in our resources.

A couple of days ago, I was looking for a couple of people to learn with me / help me check my understanding of iPad programming in a few weeks time - see [here]. Looks like we're on for the weekend of 10th and 11th March, with a group of four of us shaking out XCode and Objective C, and making sure we've got a thorough understanding. That weekend's going to have quite an advanced starting level. It should leave me well prepared for iPad programming, with (perhaps) an ability to show others how to do so more formally later in the year.

iPhone programming is very similar to iPad programming - in fact you can choose to write Universal applications that run on both. Screen layout / resolution need to be considered, of course - but then that's the case even with iPhone alone where you have the original resolution and the newer, higher "retina" resolution. Here's another simulator screen capture, this time showing a simple iPhone text entry screen, with feedback of the text entered via labels modified by the controller. The View Controller Header file is [here] and the View Controller source in Objective C is [here]. Although I used IB (the Interface Builder) to create the layout rather than coding it directly, I have also included the interface design XML in my sample sources - it's [here].