logo
Jan-Mar 1997
Oct-Dec 1997
Jan-Mar 1998
Apr-Jun 1998
Jul-Sep 1998
Oct-Dec 1998
Jan-Mar 1999
Apr-Jun 1999
Jul-Sep 1999
Oct-Dec 1999
Jan-Mar 2000
Apr-Jun 2000
Jul-Sep 2000
Oct-Dec 2000
Jan-Mar 2001
Apr-Jun 2001
Jul-Sep 2001
Oct-Dec 2001
Jan-Mar 2002
Apr-Jun 2002
Jul-Sep 2002
Oct-Dec 2002
Jan-Mar 2003
Apr-Jun 2003
Jul-Sep 2003
Oct-Dec 2003
Jan-Mar 2004
Apr-Jun 2004
Jul-Sep 2004
Oct-Dec 2004
Jan-Mar 2005
Apr-Jun 2005
Jul-Sep 2005
Oct-Dec 2005
Jan-Mar 2006
Apr-Jun 2006
Jul-Sep 2006
Oct-Dec 2006
Jan-Mar 2007
Apr-Jun 2007
Jul-Sep 2007
Oct-Dec 2007
Jan-Mar 2008
Apr-Jun 2008
Jul-Sep 2008
Oct-Dec 2008
Jan-Mar 2009
Oct-Dec 2009
Jan-Mar 2010
Apr-Jun 2010
Jan-Mar 2011
Oct-Dec 2011

October-December 2009 (oldest-to-newest)

30 Nov 2009 - *tap* *tap* uh...hello?

Yeah, so this year has been a bit roller coaster ride. Economy in the toilet. Jobs in flux. Here's hoping that 2010 at least provides some stability.

Lately I have had the opportunity to focus some effort on iPhone development. It is a steeper learning curve than I was expecting. Objective-C, despite being "merely" a superset of C, brings enough new things to the table to make my mind bend. Thankfully I did some brief coding in C# a while back, which helped me ease me through the Obj-C style of garbage collection, delegates and protocols. I'm getting my head around creating interfaces with Interface Builder and linking them with code. More recently I have learned about Navigation Views and Table Views.

My rough plan is to make a utility forms app first to learn the ropes. After that I will move on to a simple game to get my feet wet with OpenGL ES. Then the fun can really begin and I'll dive into something more meaty.

While I still don't have an actual iPhone, I did buy an iPod Touch. That should be good enough to get me started. One thing I quickly learned after getting it is how much I love the Touch as a gaming machine. It really fits in well with the play-when-you-can-find-a-minute style that seems to be my own trend lately. I'm still catching up with all the great games for the platform. My early favorites are California Gold Rush and Cooking Dash.

So for the three people that still read this, thanks for sticking with me. If you're just now dropping by then why don't you add me to your Google Reader list? I promise to behave and not bombard you with updates.

29 Dec 2009 - Obj-C

I'm continuing to learn Objective C and the coding conventions employed by the iPhone software environment. I'm over the hump when it comes to understanding how to use Obj-C. The big hurdles now are learning the toolkit.

I have some forms displaying and am navigating between them adequately. I'm continuing to learn classes like TableViews, NavigationControllers, and more recently ImagePickers.

Some bugs that have caused me problems were related to Objective C being a weakly typed language. You can create an object of the wrong type and not find out about it until run-time when some method goes off to the weeds. Also, you can send messages (C++: invoke methods) to objects that are nil (C++: NULL) and the run-time environment won't complain. This leads to strange behavior later and haves you scratching your head as you trace back what happened.

The memory management scheme is also something I still need to fully understand. Objects are "retained" and "released" instead of explicitly freed. In my opinion this doesn't solve much when compared to C++'s "new" and "delete". Both ways have their benefits. It just requires a different way of thinking with regards object lifetime.

As happens with a lot of my projects, it is turning out to be more involved than originally anticipated. Not that I'm complaining. It allows me to learn even more aspects of the system and environment before jumping to a game.



This web page and all other pages on this site are © 1999-2007 Scott Cartier