Archive for February, 2006
Friday, February 24th, 2006
A quick comment about these two properties: [NSColorPanel isContinuous] and [NSColorWell isContinuous].
Generally, you want these two things to be in sync. Whenever the color changes in the NSColorPanel, the color in the NSColorWell will update. However, the action in the NSColorWell will sometimes not be sent, since it isn’t the thing controlling the mouse. If you set isContinuous to NO on an NSColorWell, but do not call [[NSColorPanel sharedColorPanel] setContinuous:NO], then the color panel is going to keep sending messages to the color well, but the action will never be sent!
The bottom line: make the two properties match!
Posted in Apple, Cocoa, General
|
Comments Off
Friday, February 24th, 2006
Cocoa Developers:
While programming with Xcode, I’ve developed several habits to make me a faster programmer. I’ll share these tidbits with you.
1. Use Cmd-Shift-D to quickly open files that you know the names to.
I’ll know that I want to open a particular file, such as NSTableView.m. So, I hit cmd-shift-d to bring up the “Open Quicky†dialog and type in nstableview (note that I don’t use the correct case, or extension, and it still works):

This will work for framework header files too.
2. Use Cmd-Alt-UpArrow to switch from the header to the implementation file. I use this ALL the time.
3. Use Cmd-Alt-F to focus the search field. Once it is focused, hit the down arrow to pop up the menu, and the up arrow once to select your project name (then hit enter):

You can then search through all your files using the search field. This works particular well when you can’t remember the full filename.
Posted in Apple, Cocoa, General
|
Comments Off
Thursday, February 23rd, 2006

One of my favorite video podcasts is Happy Tree Friends. They are a rather sick and twisted cartoon, but entertaining.
Subscribe for your self.
Posted in General
|
1 Comment »
Thursday, February 23rd, 2006
Today I got my burning man 2006 ticket. I’m not sure yet if I’m going to go for sure. Probably, as it was a lot of fun last year.
Posted in General, Other Stuff
|
3 Comments »
Friday, February 17th, 2006
I like treehouses, if you haven’t guessed. I found this great step-by-step page on how to build a treehouse: Treehouse – on instructables.
In general, Instructables: step-by-step collaboration, is a great website. Very cool.
For those googling here, don’t forget to check out *my* treehouse.
Posted in General, Other Stuff
|
Comments Off
Wednesday, February 15th, 2006
I finished box #5 a few days ago (for Stephanie). It turned out really nice! It is made of redwood with pine keys. This is the first thing I made with my new table saw (and using the old radial arm saw I have from my dad).

View all the pictures.
Posted in General, Woodworking
|
Comments Off
Friday, February 10th, 2006
I really needed to upgrade my table saw, and a few days ago I got my order in from Amazon.com: a nice new grizzly 10“ table saw. I got this one: Amazon.com: Grizzly G0444 10†Table Saw 1-1/2 HP Single-Phase 110V: Tools & Hardware. It is excellent! I highly recommend it..of course, I’ve only used it for maybe one hour total

Posted in General, Woodworking
|
1 Comment »
Tuesday, February 7th, 2006
Tom took a few pictures from our mountain unicycle ride last weekend, Mailboxes, in santa cruz. check them out here.
Posted in General, Unicycling
|
1 Comment »
Friday, February 3rd, 2006
Well, I finished box 4 a few days ago. It is pretty nice! Some of the pictures are now on my pictures page: Corbin’s Pictures – Box #4. I used redwood; again it was from home depot, but I bought an S4S piece of wood that was pretty nice, although slightly bowed. It is a simple miter cut box, with a groove routed on the top piece to create a nice relief. The top was glued to the box, and I cut it off with the table saw. I think hinged it together after finishing the box.
Back view:

Open view:

Front view — notice the cool grain pattern as it flows around the box side:

Posted in General, Woodworking
|
1 Comment »
Thursday, February 2nd, 2006
Hi Cocoa Developers,
Tip of the day: Don’t bind two NSTableView’s to a single NSArrayController instance. Bugs will happen! More specifically, attempting to multi-select rows will not work properly — the two tableviews will fight for the selection. Eventually, this may be changed, but for now, in Tiger, it does not work, so don’t do it!
EDIT: This will work, as long as the allowsMultipleSelection value is the same on both tableviews.
Posted in Apple, Cocoa, General
|
Comments Off
|