Building an iPhone App
Sunday, 23 January 2011
It's been a while...
Tuesday, 7 December 2010
More playing around with Views, Outlets and Actions
Tuesday, 30 November 2010
Chapter 3 complete, simple UI in place
Monday, 29 November 2010
A struggle with Outlets and Actions
More reading tomorrow on the bus and, hopefully, the next exercise will go a little quicker.
Sunday, 28 November 2010
Hello World and other programming triumphs
- cmd-Tab moves between applications, much as Ctrl-Tab does in Windows but, unlike Windows, minimised applications aren't restored - instead the menu is displayed at the top of the screen.
- Taking screen shots is a bit more involved. In Windows alt-PrintScreen does the trick but in Mac OS it's cmd-shift-4 (or one of half a dozen other combinations, depending on exactly what you're trying to achieve) after which you have to add your shot to the email. Versatile, but not exactly intuitive.
Buying a book definitely helped (I was struggling with Apple's tutorials; they're good, but all the iOS walkthroughs are online and I still don't have broadband). A quick trip to the local wifi-enabled cafe and I'm all sorted with the Kindle edition of Beginning iOS 4 Application Development by Wei-Meng Lee, which seems pretty good. I have to admit that it didn't even occur to me to try iBook - I went straight to Amazon.
Anyway, having done that, I now have a crappy Hello World app running (see below), which isn't too bad for a couple of hours work. I'm starting to get a feel for the .h, .m, .xib and other files required in iOS programming although I still don't have a good understanding of their purpose (when you write in assembler everything is held in a single file, possibly with "includes", and the whole things is much simpler to pick-up). More reading now follows (and I've synced the book to my iPhone so I can read it on the bus) then I'll be heading back to the code to stick some more things in my app.
First steps completed...
First steps are complete. Under the guise of acquiring a new laptop for the wife (Christmas present) I've bought my first Mac, a 13" MacBook Air. Lacking broadband at home (long story; new flat, waiting for BT to install a phone line etc.) I downloaded the iOS SDK at work (all 3.8Gb of it), transferred it to my iPad and then, when I got home, to the new MacBook Air. The package has just finished installing so the next step is to give it a prod and see what drops out.
iPhone App Idea...
I'll blog each step and, if we're lucky, you'll end up with a first-hand account of the trials and tribulations of a novice iOS developer and (hopefully) a working, useful app and I'll be a published developer with at least one app on the Store. Might not happen, but you never know your luck and, at the very least, you can have a bit of a laugh at my struggles.

