Mail app updating offline disk cache
If you choose to opt out of complete i OS file encryption in this way, we encourage you to use Realm’s own built-in encryption to ensure your data is still properly secured.
This is a useful option if you need flexible data access without the overhead of disk persistence.
In-memory Realms create several files in a temporary directory for coordinating things like cross-process notifications.
Please respect Apple’s i OS Data Storage Guidelines, which recommend that if documents that can be regenerated by the app should be stored in the .
Please note that the default Realm constructor and default Realm convenience methods don’t allow error handling; you should only use them when initializing the Realm cannot fail.
To handle errors when first accessing a Realm on a given thread, provide an database files, and won’t cause any erroneous behavior if their parent database file is deleted or replaced.
When reporting Realm issues, please be sure to include these auxiliary files along with your main You can refer to our migration sample app for an example of how to use a bundled Realm file.
While your application continues working with a synchronized Realm, the data in that Realm might be updated by any device with write access to that Realm.
For a detailed discussion about Realms, please read .
For example, suppose you have an application where users have to log in to your web backend, and you want to support quickly switching between accounts.
You could give each account its own Realm file that will be used as the default Realm by doing the following: The most common location to store writable Realm files is the “Documents” directory on i OS and the “Application Support” directory on mac OS.
In some scenarios you may wish to limit which classes can be stored in a specific Realm.Tags: Adult Dating, affair dating, sex dating