Jon.Shoberg.Net

Tag: xcode

iPhone Two Button Demo

by Jon on Jan.06, 2009, under Dev Data Tech

iphone two button
Click here

Right now the goal is every few days to complete a chapter of the book ‘Beginning iPhone Development: Exploring the iPhone SDK.”  I’m not a big fan of the title but then again its the title that sells most book; a double ’iPhone’ in the text seems a bit awkward. The book sets out to walk you though the fundamentals of the SDK and being a few chapters in its doing a decent job. Its been some time since I’ve done C development with a language like like Objective-C and development tools such as Xcode. Transitioning from C# and .Net 3.5 is a little bit of a leap but thankfully I did some linux GUI programming back in the day. Having worked with Apress and being familiar with their style guidelines for Curtis’ book; my only critique would be a few minor formatting and style issues in the early chapter. IMO, some links and tips should be formatted differently.

Chapter 3 covered basic interactions and in this case a two button demo. Consisting of a label and two buttons you work though the steps of defining outlets, actions, builder, and linking it all together. When you finally build the project the the iPhone simulator comes up, loads your app, and lets you click left button and right button until your heart is content.

Its nothing to write home yet but getting the fundaments of iPhone development so far is pretty straight forward from a pretty good book.  Next comes working though some advanced interactions and then diving into specific library objects such as sliders, tables, images, network functions, etc…  I’ll keep working a couple of chapters but I’m sure at some point I’ll break from working page to page and begin actual application development; keeping the book on my desk as a reference.

Leave a Comment :, more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!