docs: simple cocoa API usage example