Which API is the replacement for Core Data with iCloud
Update, June 2016: As of the most recent documentation for NSPersistentStoreCoordinator, everything related to Core Data with iCloud is marked as deprecated. As a result it should probably be avoided for new development.
Using Core Data, iCloud and CloudKit for syncing and backup and how it works together
Important The use of iCloud with Core Data has been deprecated and is no longer being supported.
About using iCloud with Core Data
I've been reading about integrating iCloud with Core Data. The mentioned Stack Overflow answer mentions the possibility of just syncing the core data database to iCloud, but also says that it's deprecated.
What technology is supposed to replace it. Is it CloudKit? Could someone point out documentation about how to integrate Core Data with cloud syncing (whichever API/technology is supposed to replace it)
ios swift core-data icloud cloudkit
add a comment |
Update, June 2016: As of the most recent documentation for NSPersistentStoreCoordinator, everything related to Core Data with iCloud is marked as deprecated. As a result it should probably be avoided for new development.
Using Core Data, iCloud and CloudKit for syncing and backup and how it works together
Important The use of iCloud with Core Data has been deprecated and is no longer being supported.
About using iCloud with Core Data
I've been reading about integrating iCloud with Core Data. The mentioned Stack Overflow answer mentions the possibility of just syncing the core data database to iCloud, but also says that it's deprecated.
What technology is supposed to replace it. Is it CloudKit? Could someone point out documentation about how to integrate Core Data with cloud syncing (whichever API/technology is supposed to replace it)
ios swift core-data icloud cloudkit
I believe it is supposed to be done manually according to guidelines, at least for now. I am personally usingCache
fromRxCloudKit
which handles synchronization for the most part.
– Maxim Volgin
Nov 13 '18 at 11:47
add a comment |
Update, June 2016: As of the most recent documentation for NSPersistentStoreCoordinator, everything related to Core Data with iCloud is marked as deprecated. As a result it should probably be avoided for new development.
Using Core Data, iCloud and CloudKit for syncing and backup and how it works together
Important The use of iCloud with Core Data has been deprecated and is no longer being supported.
About using iCloud with Core Data
I've been reading about integrating iCloud with Core Data. The mentioned Stack Overflow answer mentions the possibility of just syncing the core data database to iCloud, but also says that it's deprecated.
What technology is supposed to replace it. Is it CloudKit? Could someone point out documentation about how to integrate Core Data with cloud syncing (whichever API/technology is supposed to replace it)
ios swift core-data icloud cloudkit
Update, June 2016: As of the most recent documentation for NSPersistentStoreCoordinator, everything related to Core Data with iCloud is marked as deprecated. As a result it should probably be avoided for new development.
Using Core Data, iCloud and CloudKit for syncing and backup and how it works together
Important The use of iCloud with Core Data has been deprecated and is no longer being supported.
About using iCloud with Core Data
I've been reading about integrating iCloud with Core Data. The mentioned Stack Overflow answer mentions the possibility of just syncing the core data database to iCloud, but also says that it's deprecated.
What technology is supposed to replace it. Is it CloudKit? Could someone point out documentation about how to integrate Core Data with cloud syncing (whichever API/technology is supposed to replace it)
ios swift core-data icloud cloudkit
ios swift core-data icloud cloudkit
asked Nov 13 '18 at 4:05
BruceBruce
381215
381215
I believe it is supposed to be done manually according to guidelines, at least for now. I am personally usingCache
fromRxCloudKit
which handles synchronization for the most part.
– Maxim Volgin
Nov 13 '18 at 11:47
add a comment |
I believe it is supposed to be done manually according to guidelines, at least for now. I am personally usingCache
fromRxCloudKit
which handles synchronization for the most part.
– Maxim Volgin
Nov 13 '18 at 11:47
I believe it is supposed to be done manually according to guidelines, at least for now. I am personally using
Cache
from RxCloudKit
which handles synchronization for the most part.– Maxim Volgin
Nov 13 '18 at 11:47
I believe it is supposed to be done manually according to guidelines, at least for now. I am personally using
Cache
from RxCloudKit
which handles synchronization for the most part.– Maxim Volgin
Nov 13 '18 at 11:47
add a comment |
1 Answer
1
active
oldest
votes
Apple did not provide a replacement. There is currently no Apple documentation about syncing Core Data between devices, because there is currently no Apple solution for this situation.
Apple does provide CloudKit, which syncs data between devices. It's not a replacement, because it's not designed as an offline data store. There is no built-in Core Data/CloudKit connection, so integrating the two is up to app developers. There are third party frameworks like Seam3 and CloudCore but I haven't used either so I couldn't say how well they work.
There's also the Ensembles framework, which syncs over a variety of server back ends. There are free and paid versions.
Finally, if you don't mind bringing in a third-party service, Google's Firebase is an effective solution to storing data locally and syncing it between devices.
If you think that Apple should provide a syncing solution-- a reasonable idea, I'd say-- please file an enhancement request with Apple describing what you need and how you would use it.
Tom, which option would you suggest as the most stable? I have also considered Realm.io as a replacement for Core Data because of the lack of syncing options, but they do not have grouping in RLMResults. Is Ensembles the best way to go if one is to stay with Core Data? With iOS apps soon ported to the Mac, it seems like Apple would be addressing this, but it has been crickets.
– SAHM
Nov 27 '18 at 18:52
I haven’t used the CloudKit options so I don’t know how good they are. Since their purpose is to sync Core Data over CloudKit though, they’re also options if you’re sticking with Core Data.
– Tom Harrington
Nov 27 '18 at 19:35
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53273626%2fwhich-api-is-the-replacement-for-core-data-with-icloud%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Apple did not provide a replacement. There is currently no Apple documentation about syncing Core Data between devices, because there is currently no Apple solution for this situation.
Apple does provide CloudKit, which syncs data between devices. It's not a replacement, because it's not designed as an offline data store. There is no built-in Core Data/CloudKit connection, so integrating the two is up to app developers. There are third party frameworks like Seam3 and CloudCore but I haven't used either so I couldn't say how well they work.
There's also the Ensembles framework, which syncs over a variety of server back ends. There are free and paid versions.
Finally, if you don't mind bringing in a third-party service, Google's Firebase is an effective solution to storing data locally and syncing it between devices.
If you think that Apple should provide a syncing solution-- a reasonable idea, I'd say-- please file an enhancement request with Apple describing what you need and how you would use it.
Tom, which option would you suggest as the most stable? I have also considered Realm.io as a replacement for Core Data because of the lack of syncing options, but they do not have grouping in RLMResults. Is Ensembles the best way to go if one is to stay with Core Data? With iOS apps soon ported to the Mac, it seems like Apple would be addressing this, but it has been crickets.
– SAHM
Nov 27 '18 at 18:52
I haven’t used the CloudKit options so I don’t know how good they are. Since their purpose is to sync Core Data over CloudKit though, they’re also options if you’re sticking with Core Data.
– Tom Harrington
Nov 27 '18 at 19:35
add a comment |
Apple did not provide a replacement. There is currently no Apple documentation about syncing Core Data between devices, because there is currently no Apple solution for this situation.
Apple does provide CloudKit, which syncs data between devices. It's not a replacement, because it's not designed as an offline data store. There is no built-in Core Data/CloudKit connection, so integrating the two is up to app developers. There are third party frameworks like Seam3 and CloudCore but I haven't used either so I couldn't say how well they work.
There's also the Ensembles framework, which syncs over a variety of server back ends. There are free and paid versions.
Finally, if you don't mind bringing in a third-party service, Google's Firebase is an effective solution to storing data locally and syncing it between devices.
If you think that Apple should provide a syncing solution-- a reasonable idea, I'd say-- please file an enhancement request with Apple describing what you need and how you would use it.
Tom, which option would you suggest as the most stable? I have also considered Realm.io as a replacement for Core Data because of the lack of syncing options, but they do not have grouping in RLMResults. Is Ensembles the best way to go if one is to stay with Core Data? With iOS apps soon ported to the Mac, it seems like Apple would be addressing this, but it has been crickets.
– SAHM
Nov 27 '18 at 18:52
I haven’t used the CloudKit options so I don’t know how good they are. Since their purpose is to sync Core Data over CloudKit though, they’re also options if you’re sticking with Core Data.
– Tom Harrington
Nov 27 '18 at 19:35
add a comment |
Apple did not provide a replacement. There is currently no Apple documentation about syncing Core Data between devices, because there is currently no Apple solution for this situation.
Apple does provide CloudKit, which syncs data between devices. It's not a replacement, because it's not designed as an offline data store. There is no built-in Core Data/CloudKit connection, so integrating the two is up to app developers. There are third party frameworks like Seam3 and CloudCore but I haven't used either so I couldn't say how well they work.
There's also the Ensembles framework, which syncs over a variety of server back ends. There are free and paid versions.
Finally, if you don't mind bringing in a third-party service, Google's Firebase is an effective solution to storing data locally and syncing it between devices.
If you think that Apple should provide a syncing solution-- a reasonable idea, I'd say-- please file an enhancement request with Apple describing what you need and how you would use it.
Apple did not provide a replacement. There is currently no Apple documentation about syncing Core Data between devices, because there is currently no Apple solution for this situation.
Apple does provide CloudKit, which syncs data between devices. It's not a replacement, because it's not designed as an offline data store. There is no built-in Core Data/CloudKit connection, so integrating the two is up to app developers. There are third party frameworks like Seam3 and CloudCore but I haven't used either so I couldn't say how well they work.
There's also the Ensembles framework, which syncs over a variety of server back ends. There are free and paid versions.
Finally, if you don't mind bringing in a third-party service, Google's Firebase is an effective solution to storing data locally and syncing it between devices.
If you think that Apple should provide a syncing solution-- a reasonable idea, I'd say-- please file an enhancement request with Apple describing what you need and how you would use it.
answered Nov 13 '18 at 16:57
Tom HarringtonTom Harrington
53.6k5104131
53.6k5104131
Tom, which option would you suggest as the most stable? I have also considered Realm.io as a replacement for Core Data because of the lack of syncing options, but they do not have grouping in RLMResults. Is Ensembles the best way to go if one is to stay with Core Data? With iOS apps soon ported to the Mac, it seems like Apple would be addressing this, but it has been crickets.
– SAHM
Nov 27 '18 at 18:52
I haven’t used the CloudKit options so I don’t know how good they are. Since their purpose is to sync Core Data over CloudKit though, they’re also options if you’re sticking with Core Data.
– Tom Harrington
Nov 27 '18 at 19:35
add a comment |
Tom, which option would you suggest as the most stable? I have also considered Realm.io as a replacement for Core Data because of the lack of syncing options, but they do not have grouping in RLMResults. Is Ensembles the best way to go if one is to stay with Core Data? With iOS apps soon ported to the Mac, it seems like Apple would be addressing this, but it has been crickets.
– SAHM
Nov 27 '18 at 18:52
I haven’t used the CloudKit options so I don’t know how good they are. Since their purpose is to sync Core Data over CloudKit though, they’re also options if you’re sticking with Core Data.
– Tom Harrington
Nov 27 '18 at 19:35
Tom, which option would you suggest as the most stable? I have also considered Realm.io as a replacement for Core Data because of the lack of syncing options, but they do not have grouping in RLMResults. Is Ensembles the best way to go if one is to stay with Core Data? With iOS apps soon ported to the Mac, it seems like Apple would be addressing this, but it has been crickets.
– SAHM
Nov 27 '18 at 18:52
Tom, which option would you suggest as the most stable? I have also considered Realm.io as a replacement for Core Data because of the lack of syncing options, but they do not have grouping in RLMResults. Is Ensembles the best way to go if one is to stay with Core Data? With iOS apps soon ported to the Mac, it seems like Apple would be addressing this, but it has been crickets.
– SAHM
Nov 27 '18 at 18:52
I haven’t used the CloudKit options so I don’t know how good they are. Since their purpose is to sync Core Data over CloudKit though, they’re also options if you’re sticking with Core Data.
– Tom Harrington
Nov 27 '18 at 19:35
I haven’t used the CloudKit options so I don’t know how good they are. Since their purpose is to sync Core Data over CloudKit though, they’re also options if you’re sticking with Core Data.
– Tom Harrington
Nov 27 '18 at 19:35
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53273626%2fwhich-api-is-the-replacement-for-core-data-with-icloud%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I believe it is supposed to be done manually according to guidelines, at least for now. I am personally using
Cache
fromRxCloudKit
which handles synchronization for the most part.– Maxim Volgin
Nov 13 '18 at 11:47