Archive for the 'Cocoa' Category

Distributed Objects

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.

Count with Me

Monday, January 9th, 2006

While I’m transcoding video, I want to display the elapsed time in form: 3 minutes 34 seconds and 1 hour 32 minutes and 5 days 4 hours 23 minutes I feared this problem. However, fifteen minutes of fumbling through Apple’s docs and I’ve got the answer in: [NSCalendarDate years.... sinceDate]; I love dreading a problem [...]

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 [...]

Commentary

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 NSView in Interface Builder, [...]

QT Export Dialog – So What Did They Choose?

Monday, December 5th, 2005

In the previous post, “Show user QT’s Export Video Dialog“, I showed how to present the user with the standard QuickTime export settings dialog. The next question should be “How can I figure out what they selected?”. For me, I only want to know certain settings for display purposes. If the user chooses h.264 @ [...]

Rollyo’ing

Thursday, December 1st, 2005

When I’m trying to get help with something Cocoa I first ask xcode, then developer.apple.com, then google. The Apple docs are great, but often times I just want a small little example snippet. Google can help here, but ninety percent of the time the results are overwhelming. Where does one go? I’ve been hitting my [...]

Welcome

Saturday, November 26th, 2005

I’m starting a blog. For my current project, RooVert, I’m fumbling through QuickTime API’s. Normally when I’m doing something new, the web has most of the answers. If the full answer is not there, I’m often pointed in the right direction. Well, the area of the QuickTime API I’m playing with has little to no [...]


© 2006-2009 roobasoft, LLC