开发者

Can Core Data use Google Docs as a persistence store?

开发者 https://www.devze.com 2023-01-27 02:10 出处:网络
I\'m quite new at Core Data/Cocoa programming, so plea开发者_如何学JAVAse bear with me ... Is it possible to create a custom NSPersistentStoreCoordinator\'s that

I'm quite new at Core Data/Cocoa programming, so plea开发者_如何学JAVAse bear with me ...

Is it possible to create a custom NSPersistentStoreCoordinator's that uses Google's GData API: Elements, Entries, Feeds, etc? Tickets could be used to model -save operations (I think)

Any help would be greatly appreciated, Mike


It is possible but not directly. The best way to approach it would be to implement a controller that deals with the Google API calls and passes the response/data received on to a managed object model (and vice-versa). The tricky bit will be making sure both sides are always in sync.

0

精彩评论

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