Archive for the 'programming' Category

Xcode Project Template

Wednesday, October 11th, 2006
Once I setup Perforce, I created an Xcode project for my first application for Mac OS X. Since I’m building a Cocoa application that isn’t document-based, I started with the Red Sweater Cocoa Application Xcode template which is reportedly based on Jon Wight’s CocoaApp template. Within a minute, I had an application running that displayed a nice about box. Thanks to Daniel and Jon for sharing their templates!

Perforce and Xcode

Friday, October 6th, 2006
I’m a big fan of Perforce for source control. I have limited experience with CVS and Subversion, but compared to MPW Projector and tlib, Perforce is a godsend. While not free like CVS and Subversion, an unlicensed version of Perforce does not expire and support two users and five client workspaces. BBEdit integrates well with Perforce. Xcode also integrates with Perforce, but I ran into some difficulties getting it configured.

Objective-C for C++ Programmers

Thursday, October 5th, 2006
I find it easier to learn something new when it is presented in the context of something with which I’m already familiar. For example, when learning gdb, I found Apple’s Technical Note TN2030: GDB for MacsBug Veterans quite helpful. For those Object-Oriented and C++ experts learning Objective-C, I’ll present some Objective-C concepts in the context of OO and C++ in hopes of making the transition easier.

Cocoa Programming for Mac OS X

Monday, October 2nd, 2006
When learning a new programming language or technology, I learn best by working through a book with lots of examples and tutorials. I learned HyperTalk by reading Danny Goodman’s The Complete HyperCard Handbook, I learned C by reading Dave Mark’s Learn C on the Macintosh, and I learned C++ by reading his Learn C++ on the Macintosh. (Actually, I didn’t really learn C++ until I read Bjarne Stroustrup’s Design and Evolution of C++.) So, when it was time to learn Objective C and Cocoa, I looked for a book. I bought Aaron Hillegass’ Cocoa Programming for Mac OS X and I was not disappointed.
thoughts yet to be boiled down to their essence