开发者

Shared data format between iOS and Mac OS

This is mainly a question about architecture and I do apologize if it's inappropriate for SO. I'm building a Mac OS application that is meant for creating content and the iOS application is meant for consuming the content. I am unsure about what data format to use and if I need to convert it to binary format. I know I can use iTunes to share files but I am wondering if anyone has done anythi开发者_如何学Cng similar?


You can use whatever format you want: iTunes simply copies files and directories. Core Data is available on both iOS and Mac OS, as is SQLite.


I would create a document based application using CoreData. This way you get a lot of features for free (file saving/loading, undo, etc). A bit of a steep learning curve if you are coming from iOS, but it's worth it. Right now this template is only on the Mac, but if you are a registered developer, you can go look up a feature that they are adding in the fall that will help you. (I don't want the NDA police on SO complaining).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜