Saturday, January 26, 2008

Building a Cocoa Calculator Application with XCode 3 for Mac (Part 1)

As promised, for you avid Mac lovers out there wanting to churn out some software of your own, I present you with my latest screencast showing how to build a calculator very similar to the calculator widget that comes with Mac. This tutorial incorporates the XCode 3 IDE, the Cocoa Framework, Objective-C (well really not until the next part of the series), and Interface Builder 3 (the primary focus of this first screencast).

With some snazzy editing and practice runs, I've managed to condense this large lump of knowledge down to approximately 3 minutes of guns blazing glory. Okay, maybe not guns blazing, but you get the point.



The next part in the series will go over the concepts of actions and outlets and how to set those up for this calculator application. In other words, we'll be setting up event handling to make this lovely interface shine (a.k.a respond).

3 comments:

Cy said...

Hi, please let me know when part two is out there :D It really loved the explanation, keep it on!

Chris Ball said...

Hi Cy,

I will be trying to put together the next series in the video over the course of the next week or so. It all depends on how much time I can find :).

Thanks for the support, glad you enjoyed!

Linda said...

I did enjoy all of the videos. I apparently have a different version of IB and am trying to make an iPhone version of the calculator for my first practice app. I can't seem to find a way to set the push on/push off state of the buttons. Do you have the current version of IB or the iPhone SDK? If so, does that exist for the buttons now? I can't seem to find it in my SDK.

Thanks,
Linda