Hacker News new | ask | show | jobs
by mpakes 5356 days ago
I haven't had a chance to verify this myself, but according to Marco, this does not actually avoid the iCloud sync:

https://twitter.com/#!/marcoarment/status/124587437799374848

2 comments

It actually does. I know because I've been testing with our app. It works perfectly. We build up a fairly large 25MB sqlite db and it doesn't show in iCloud anywhere.

In fact, if you use UIManagedDocument, it creates a .nosync directory in the document bundle to prevent it from syncing in the framework itself.

The docs specifically say directory, not file. Maybe that is the problem?