Tuesday September 13, 2011

A "URL" Router for Objective-C

Already, Jeff Verkoeyen is making good on his promise to remake the old Three20 framework with better abstractions and documentation. He’s ripped out the url router into it’s own project, called SOCKit. It’s a companion to Nimbus, but can be used independently.

For those who’ve never messed with Three20 before, this is a big deal because it lets you specify a path through navigation controllers with essentially a URL. That URL could be used to launch the app and put it in a consistent state, or used as the previously saved state before the app was terminated.

But unlike the tightly coupled monstrosity that was Three20, this router isn’t just for navigation. It lets you use URLs to easily specify any kind of state you want!