docs: simple cocoa API usage example

This doesn't include the basic plist and project file you need to get this to run, but those are just boilerplate generated by Xcode.