An Objective C 2.0 wrapper around the Stack Exchange API. Powers Six to Eight. Carefully woven threads for easy creation of non-blocking UIs, and full serialisation support for easy state persistence. In short, what was needed to create a well behaved iPhone application.
I've included a small README.txt, but documentation is otherwise sparse. As time permits over the next week, I'll be writing a few blog posts on the creation of Six to Eight, and the use of the API (along with coding against the SE API in general).
MIT Licence. Basically, do whatever you like. Just don't judge me too harshly when you find problems.
Linked from http://sixtoeightapp.com/open_source.php, or just visit the github directly at http://github.com/archgrove/CoreStack
Objective C 2.0 platforms. Basically, that's Mac OS X Leopard, or iOS.
Bug reports, comments, patches and abuse to adamw at archgrove.co.uk.
Pure Objective C, but with the help of ghunit (Gabriel Handford) and JSON API (Stig Brautaset).
In case it helps, I just uploaded one of the UIViewControllers from SixToEight to http://sixtoeightapp.com/code/SiteStatisticsView.m (and h). It shows the basic usage the API was designed for - given a CSSite, it demos getting request parameters, making requests, receiving answers and serialising results. I'll add some more interesting ones later in the week when I've check them over for obvious bad examples.
- (id)initWithDescriptor:(CSSiteDescriptor*)_descriptor;. To build a site descriptor, either use
(id)initWithName:(NSString*)_name andEndPoint:(NSString*)_api_endpoint;, or use
updateSitesthen using the
sitesproperty (which is an object vector of the
CSSiteDescriptorsprovided by StackAuth) once your delegate is notified that the site list is available.