I am trying to follow Apple's Using the Sqlite Store with iCloud to add CoreData sharing between devices. I'm on an outdated manual (2014-07-15) which, on page 8-9 shows how to enable iCloud in an existing app; however, the example is for documents, not for SQLite and when trying to enable for SQLite, the images are not up to date with XCode 6.
Can someone please tell me what I'm supposed to use (code-wise) to get this started?
I found my answer here:
http://www.techotopia.com/index.php/Preparing_an_iOS_6_App_to_use_iCloud_Storage
It goes step-by-step to configure an app for using iCloud on multiple devices.
Related
I am Trying to get some data to show in an ionic application,my problem that i want to know how to be able to get the data online,and then save them when iam offline,so i can consult some of them.
Any proposed solution?
If your goal is to have a database on the phone that automatically syncs with an online database when the phone has signal then you should look at PouchDB and CouchDB. There is an excellent tutorial at https://www.joshmorony.com/offline-syncing-in-ionic-2-with-pouchdb-couchdb/ that you could read.
I'm developing an app which uses CoreData and is already released. I'm trying to add syncing feature using iCloud and Ensembles 1.x. I added codes which are told in the readme, but syncing doesn't happen. The debug log says it can't leech to ensemble.
I enabled iCloud for the project, but only for Key-value storage which is used for another purpose. Do I need to enable other services such as iCloud Documents or CloudKit?
Also, I have this line like sample codes do, and wondering ubiquityContainerIdentifier shouldn't be nil. But I have no idea what I should pass. Could you please give me any advices?
cloudFileSystem = CDEICloudFileSystem(ubiquityContainerIdentifier: nil)
Thank you in advance.
You do need to have iCloud Documents enabled.
See the Simple Sync example app to see the things you have to setup.
I think passing nil should work. That will choose the default iCloud container for you (e.g. iCloud.com.mycompany.myapp). If you need a different container, just set that up in your capabilities for the target, and use that.
Note also there is a free book at http://leanpub.com/ensembles
Where can I find form key of Google spreadsheet? I need it to use in ACRA crash reporter.
I'm unable to find it in current version of Google docs.
You should not be using GoogleDocs to receive ACRA crashes anymore.
There are many alternate services available.
See https://github.com/ACRA/acra/wiki/Backends
I am planning to develop an app which will use a database.
This database will need to be synchronized accross multiple devices.
I need something like iCloud + CoreData but able to work also from Android and Windows
Do you know if this magical thing exists?
Thanks
if it's ok that you need to be connected (no fully offline mode) - StackMob can be of help to you.
their iOS SDK even provide CoreData interfaces, and if you don't like them - you have REST APIs
Also may be you should look at:
- Simperium (no Android SDK, only REST APIs,)
- Parse.com
I've successfully added iCloud sync for coredata in that i can see the data being saved to the cloud ubiquitous store.
I'm running the app on the simulator and an iphone simultaneously. If I add or save data the store grows. BUT, neither app receives the NSPersistentStoreDidImportUbiquitousContentChangesNotification and therefore the data is not synced.
I've based my implementation on the Tim Roadley blog (http://timroadley.com/2012/04/03/core-data-in-icloud/) whihc was very helpful.
Any help would be muc appreciated
If you read the very first paragraph of Tim's article you will see this. "Note: iCloud does NOT work in the iOS Simulator. I recommend testing on two devices, such as an iPad and an iPhone at the same time."
I believe that's your answer. ;-)
EDIT:
iOS 7 now supports this