Earlier this week I was working on a project where I wanted to filter a table view based on tags. The data model I was working with was very simple. My table view was bound to an array of objects through an NSArrayController, and each object had it’s own array of NSStrings which represented tags. [...]
Cocoa KVO tricks: binding to an array of arrays
May 13th, 2008 No Comments
Cabel Sasser at C4[1]
April 12th, 2008 No Comments
I know it’s old, but last week I finally got around to watching Cabel Sasser’s C4[1] presentation.
Earlier this year I gave a talk (my first public presentation ever, actually!) at Johnny Rentzsch’s intimate and engaging C4[1] conference in Chicago. Despite nervousness, it was really great fun. We had just recently finished Coda, and with one [...]
Tags: Business · Cocoa · Video
Cocoa development links of interest
March 11th, 2008 No Comments
Paul Kim:
Recently, Quentin Carnicelli of Rogue Amoeba asked if there were NSResponder methods that you could hook your “OK” and “Cancel” buttons to to dismiss a modal panel (or sheet). As far as I knew there wasn’t but, gosh darnit, that would be a useful thing to have.
To clarify what I’m talking about here, when [...]
iPhone SDK
March 7th, 2008 No Comments
The iPhone SDK has finally landed, bringing with it real Exchange support, WPA2 and other goodies. You can watch the announcement event here, or read highlights and commentary at Daring Fireball.
Although I don’t own an iPhone (yet), I did download the SDK and look forward to playing with it. My feelings about the price structure [...]
Cultured Code on UI design
February 5th, 2008 No Comments
Cultured Code writes about designing the user interface for creating repeating items in their upcoming task management application, Things:
It seemed fine in theory. But after implementing and combining it with the underlying logic, it took us only minutes to discover that it didn’t work as expected. Not that anyone was able to tell exactly why. [...]
Thursday link roundup
January 31st, 2008 No Comments
I should have mentioned this a long time ago, but Cocoa programmer Mike Lee has started a charity to save Madagascar lemurs. Prior to reading I had no idea lemurs were in danger of extinction or the good even a small donation could do, but Mike makes some very convincing arguments.
Instapaper is a new web [...]
Tags: Charity · Cocoa · Design · Web App
Daniel Jalkut on crash logs & atos
December 7th, 2007 No Comments
Great writeup from Daniel Jalkut on examining crash logs with the atos command line tool:
Many developers seem to think that gathering useful crash logs requires shipping a symbol-laden application, but aren’t willing to do so. The fact is, you can have the best of both worlds by shipping a symbol-stripped version of your application, but [...]
Checking the OS X operating system version in Leopard
November 11th, 2007 1 Comment
One of the changes I made to Runner’s Log recently is a small update to some drawing code to better match the new look and feel of Leopard. Since I’m still supporting OS X 10.4, I had to determine at run time what operating system I’m running under. There are a few ways to do [...]
Leopard development links
October 29th, 2007 No Comments
Mac OS X 10.5 Leopard: the Ars Technica review:
DTrace and Xray invite good questions. “How many files does my application open on launch?” “How many times is a particular function called?” “What does the memory usage of my application look like over time?” DTrace and Xray make the previously daunting task of answering these questions [...]