Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You should check out the <a href="http://timisted.github.com/TICoreDataSync/remote-file-hierarchy.html" rel="nofollow">Remote File Hierarchy</a> page which describes what is expected. It appears to expect a "dumb" file system where it just needs read/write access to the locations specified. This is further proved by the fact that it works with Dropbox, which only stores binary files. This type of service could be implemented in many different ways, which are not dependent on TICoreDataSync other than the defined hierarchy. You would just need a server that allows standard read/write access to the paths defined. The important question to ask is how do I point TICoreDataSync to a specific endpoint? And the answer to that seems to be by initializing a <a href="http://timisted.github.com/TICoreDataSync/reference/html/Classes/TICDSFileManagerBasedApplicationSyncManager.html" rel="nofollow">TICDSFileManagerBasedApplicationSyncManager</a> and setting the <code>applicationContainingDirectoryLocation</code> property. One thing that is nebulous from the documentation here is that it does not state if this has to be a URL to a local directory. Theoretically it is an NSURL and could be set to an HTTP URL assuming that the HTTP server handles the I/O methods properly. </p> <p>This is where I would start with storing information on your own server. Based on your tags for the question it looks like you are building an iOS app, and unfortunately their documentation only talks about using the DropboxSDK with iOS apps and the corresponding <code>TICDSDropboxSDKBasedApplicationSyncManager</code> class. If you are building a Mac app, the server components could be transparant to your app. You could write to a local directory that is mounted from a server, whether it be WebDav, SMB, SSH, etc... and use the <code>TICDSFileManagerBasedApplicationSyncManager</code> class. </p> <p>With all that said, you may be interested in some other ways to do this. If you are interesting in a homegrown solution you could take a look at these tutorials I have written.</p> <p><a href="http://www.raywenderlich.com/15916/how-to-synchronize-core-data-with-a-web-service-part-1" rel="nofollow">How To Synchronize Core Data with a Web Service – Part 1</a> <a href="http://www.raywenderlich.com/how-to-synchronize-core-data-with-a-web-service-part-2" rel="nofollow">How To Synchronize Core Data with a Web Service – Part 2</a></p> <p>There is a lot of work to be done in order to make the application in the tutorial production worthy, but it could be insightful.</p> <p>Another option is <a href="https://github.com/AFNetworking/AFIncrementalStore" rel="nofollow">AFIncrementalStore</a>, which provides seamless communication between CoreData and your web service backend. </p> <p>In any case, syncing data like this a pretty big undertaking so be prepared to spend a lot of time on development in order to get it right!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload