Marco.org

I’m : a programmer, writer, podcaster, geek, and coffee enthusiast.

WWDC session spotlight: API Design

One of the surprisingly useful sessions from WWDC 2010 was #138: API Design for Cocoa and Cocoa Touch.

The title wasn’t a very good expression of its content. It’s more fairly (albeit verbosely) titled, “Conventions, naming styles, and structural guidelines that Apple has used for the Cocoa APIs, and how and why you should adopt them.”

Some tips included, from my notes:

Apple’s developers have made their style and API design decisions with far more time, wisdom, and experience than any individual developer is likely to have. There will always be exceptions to conventions in real-world use, but when you can more fully appreciate why those conventions are in place, you can more responsibly choose when to break from them.

This was one of the sessions that has had the most lasting value for me,1 but I attended it by chance: there was nothing else pertinent to me during that hour, so I ducked into this one, thinking it was about entirely different matter. I’m glad I did.

If you’re a registered iPhone developer, get it: go here (you’ll need to log in), follow one of those iTunes links, select the “Application Frameworks” category, and download Session 138.


  1. Besides the interface-design session, of course. But you saw that one live, right? It’s #103 in Application Frameworks. ↩︎