Archive for the 'Commentary' Category
Friday, January 13th, 2006
After spending the past couple nights with them, I can say with ease: Cocoa’s Distributed Objects are very nice. I’ve used other IPC mechanisms before (FIFOs or named pipes, sockets, etc.). Distributed objects remove at least %90 of the work compared to traditional IPC mechanisms. Cocoa continues to please.
Posted in Cocoa, Commentary, Code | No Comments »
Saturday, January 7th, 2006
To build an Xcode project from the command line, run “xcodebuild” in your project directory. Here are some useful examples:
xcodebuild -configuration Debug
xcodebuild -configuration Release clean build
Consult ‘man xcodebuild’ for more information.
Posted in Commentary, Xcode | No Comments »
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 […]
Posted in Cocoa, Commentary, Code, Xcode, Interface Builder | No Comments »
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 macro, I make use of […]
Posted in Commentary, Code | 5 Comments »
Saturday, December 17th, 2005
I’m interested in being able to take an iMovie project and directly transcode that to some other movie type from within my software. My first thought was to learn how to parse the .iMovieProject and put the movie together myself. This scared me. After depressingly staring at a sample project’s XML for some […]
Posted in QuickTime, Commentary | No Comments »
Friday, December 16th, 2005
For those on the hunt for a .com or .net domain, this instant domain search is by far the best game in town.
(via df)
Posted in Commentary | No Comments »
Tuesday, December 13th, 2005
To hide the little grid between multiple selected cells is an NSTableView, use setIntercellSpacing:
[yourTableView setIntercellSpacing:NSMakeSize(0,0)];
Posted in Commentary | No Comments »
Tuesday, December 13th, 2005
NSColor has many useful functions to easily get the NSColor you want. The default color of the selection of an NSTableView is
[NSColor alternateSelectedControlColor]
Don’t forget the alternates.
Posted in Commentary | No Comments »
Sunday, December 11th, 2005
One of the reasons I started this blog was to have a place to write things down and be able to search later. Hence the tag, “If I write it down, I might not forget”. Often times it’s the small one-liners that need to be remembered. Example:
To create a new […]
Posted in Cocoa, Commentary | No Comments »