iOS and OS X Cocoa library for communicating over USB and TCP