Logged in as Guest   Fri, Mar. 12th, 5:12 AM.      
Visitor Map
Recent Entries:
My Dev Setup Lately
Three Ways To Randomize on the iPhone
How to Remove .svn Directories On a Mac
How To Detect The iPhone Simulator
iPhoneMom Likes Doodle Games!
Updates To the Doodle Games Line
Three Jacks Now Tweets
Second iPhone App Submitted For Approval!
Pinch Media Analytics for iPhone
New iPhone Game Coming Soon!

Archive:
January - 2010
November - 2009
October - 2009
September - 2009
August - 2009
July - 2009
June - 2009
April - 2009
March - 2009
January - 2009
May - 2008
April - 2008
March - 2008
October - 2007
August - 2007
July - 2007
June - 2007
May - 2007
April - 2007
December - 2006
November - 2006
September - 2006
August - 2006
July - 2006
March - 2006
February - 2006
January - 2006
December - 2005
November - 2005
October - 2005
September - 2005
August - 2005
July - 2005
June - 2005
May - 2005
April - 2005
February - 2005
January - 2005
December - 2004
November - 2004
October - 2004
September - 2004
August - 2004
July - 2004
June - 2004
May - 2004
April - 2004
March - 2004

Links Updated
I've spent the last few hours pruning and cleaning up my links. This is mostly for my own edification, but in case anyone is keeping track at home, they've all been made relevant again. At least to me...
Submitted by bosshogg on Wednesday the 15th of April 2009, at 02:44 am


Objective C is Weird
My brain has been hurting lately going back and forth between Objective C (iPhone) and Java (Blackberry/RIM). I'm definitely still a n00b when it comes to ObjC, and the rules of when I have to use the command structure [object command] versus object.accessor still confuse me occasionally. I've also never seen a language where the @ symbol is used so much. Maybe it's all the time I've spent in C++ where the only place you see @ is in a decorator. Oh, well. I'll get it. BTW, if you're starting out developing for the iPhone, I definitely recommend the iPhone Cookbook. There used to be a free PDF version of it floating around on the web, but I think I saw that they removed it recently. Just go slow and do the different examples that she has included, and if you're an experienced developer, you'll be off and running by the third chapter.

-Jon
Submitted by bosshogg on Sunday the 12th of April 2009, at 05:22 am


C++ and the iPhone
So I have a bunch of utility classes/functions that I've collected in my 'toolbox' over the years. When I first started doing iPhone development, I was a little bummed out because the primary development language for it is Objective C. However, after poking around for a while, I've realized that I actually can include .cpp files and/or .mm files (treated the same way by the compiler.) I'm still playing around with how much/little I can actually pull over, but at least I don't have to give up everything. Cool!
Also, I did a little poking around and for those of you curious, the compiler preprocessor directives that you can use to detect development for Mac/iPhone is __APPLE_CC__ and __GNUCC__. In otherwords
#if (defined(__APPLE_CC__) && defined(__GNUCC__))
should evaluate to true if you are developing for an OSX/iPhone environment. Need to dig a little more to detect the difference between Mac vs. iPhone. I'll post a follow up once I figure it out.

Cheers!

-Jon
Submitted by bosshogg on Tuesday the 07th of April 2009, at 03:14 am