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. [...]
Entries Tagged as 'Development'
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
David Heinemeier Hansson on Git
April 3rd, 2008 No Comments
From David Heinemeier Hansson’s blog:
So given all that, I think the Git move is even more interesting. That camp is competing not only to convince people that a new paradigm is appropriate for many things, but also as that it, one-out-of-many, should be the one to embody it.
I think they’re going to get it. Killer [...]
Tags: Git
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 [...]
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. [...]
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 [...]
Tags: Apple · Cocoa · Debugging · OSX 10.5
Version Control and “the 80%”
October 17th, 2007 No Comments
From iBanjo, on the topic of distributed version control systems in small corporate development environments:
In 2007, Distributed Version Control Systems (DVCS) are all the range among the alpha-geeks. They’re thrilled with tools like git, mercurial, bazaar-ng, darcs, monotone… and they view Subversion as a dinosaur. Bleeding-edge open source projects are switching to DVCS. Many of [...]
Tags:
John Gruber on iPhone Development
June 1st, 2007 3 Comments
Daring Fireball:
Long-term, within the next two years, if not far sooner, I feel certain there will be various ways for developers to write iPhone software. (In fact, in Gizmodo’s transcript of the same Q&A session with Jobs from the D conference, they quote Jobs’s response to the question of third-party iPhone development as follows (emphasis [...]
Tags: