I'm trying to learn how to program in Cocoa. As part of that, I'm writing a very simple application that exercises a lot of things at least once. Here's a document describing that application and the steps I took in creating it. HTML format, RTF format, and Open Document Text format.

Also, for your reference, here's the project file that I created: MyProject.tz

I have not finished this program yet. In particular, I haven't figured out how to do the following things:
1. Tell Xcode to run the unit tests as part of the build process for the application. Chris Hanson has some instructions how to do this at http://chanson.livejournal.com/120263.html. There's enough difference between the environment he wrote for and mine that I haven't been able to make those instructions work. It doesn't help that, except for some code I wrote for NeXTStep 0.9, I've never used Objective-C and Xcode.
2. Tell Xcode that I want to set a breakpoint in my unit test code and have it actually stop there. Again, Chirs has some instructions at http://chanson.livejournal.com/120740.html that I was not able to figure out.
3. I haven't been able to make my OCMock object work right. I'm pretty sure it's a pretty obvious beginner mistake that I could quickly find in the debugger, but without it I'm stumped.





By the way, JB, if you're reading this, happy ruibnug.