Month: November 2006

  • Insanely transparent …

    You can just see Steve Jobs stroking a white cat and telling engineers to make products “insanely transparent”, can’t you?

    [link]

    (It’s actually an article about keyboards, but worth reading anyway)

  • Writing Unit tests for Cocoa

    I realized something interesting today.

    I use unit testing to (hopefully) improve the quality of my code.

    With Java I use JUnit. With native Mac stuff I use OCUnit.

    One really clever thing about OCUnit that I realized today is that if you have several SenTestCase subclasses, each with multiple tests in it, you can put all of them into one XCode target and OCUnit will automatically run them as suites in one test run. This means that you get a summary of all of the tests at the end.

    Previously I had a separate XCode target for each test case, where each test case class reported its results separately, which isn’t nearly as good.

  • IP PBX delivered on an iPod?

    “We have put our complete IP PBX on it [the iPod Shuffle]”, says Dr. Harry Behrens, Managing Director of 4S newcom. “It is so compact that even on the smallest iPod Shuffle (512 MB) enough room is left for 4 full hours of music.”

    [link]