Programming Links of the Day
- -[NSBezierPath fillRect:] vs. NSRectFill()
This bit me in the ass the other day.
- On initializing static variables [in C99]
In C99, static variables are initialized to sane default values if there is no explicit initializer. As Daniel Jalkut notes in a comment, C99 is not the default mode in Xcode, which really sucks. The first thing I have to do for every new project is change Xcode to follow G99 so that I get modern for loops and can use the STAssert* macros.
- Going from the an item in Interface Builder's hierarchical view to the actual UI item
But, for me, at least, a trick to go in the other direction would be more useful. I've long avoided using the hierarchical view in IB because of its inscrutability, but now that I'm using RBSplitView it is an unfortunate necessity.
- File a radar for an iPhone SDK
I've done this. I have an unreleased Cocoa eye-candy game that would be perfect for the iPhone's small touch screen.
Via Fraser Speirs
Posted by coughlin at 5:37 PM