Move API files shared between Mac and iOS to the Cocoa directory