Archive for the 'Code' Category

Understand IB’s Exclamation Point *Before* You Ignore It

Monday, January 2nd, 2006

I just wasted ~2 hours debugging a problem that was the result of my “IBOutlet NSTableView *profileTableView” not being wired up in Interface Builder. When IB knows about an outlet or action that isn’t wired up, the icon in the instances tab gets an exclamation point in its lower left hand corner. This is a [...]

Add Xcode Text Macros

Wednesday, December 28th, 2005

File this under “I hope there’s a better way, but this is how I did it”: spotlight search for xctxtmacro. Open C.xctxtmacro (mine opened with textedit) go to the end and copy and paste the “c.separatorcomment” block massage new entry accordingly restart Xcode use new text macro I recommend three different ways for executing your [...]

Just Because it Compiles, Doesn’t Mean it Works

Monday, December 19th, 2005

For unknown reasons, I tried: usleep(1,000,000); (hey, it was early, don’t laugh) and it compiled. And usleep was even returning 0 as if it was working. Well, from what I can tell, usleep was only seeing 1. Not sure where the rest of the 0′s went. As I’m sure you know, that needs to be: [...]


© 2006-2009 roobasoft, LLC