In practice, this can only happen the first time a Realm instance is created on a given thread.
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.Realm Studio is our premiere developer tool, built so you can easily manage the Realm Database and Realm Platform. If you need help finding your app’s Realm file, check this Stack Overflow answer for detailed instructions.With Realm Studio, you can open and edit local and synced Realms, and administer any Realm Object Server instance. You can find example applications for both i OS and OS X in our release zip under to import Realm Swift and make it available for use with your code. Because writing to the “Documents” directory is prohibited on tv OS, the default Realm location is set to .For example, if you want to show the users a list of all available ZIP codes.This is another use case for the In-memory Realms do not save data across app launches, but all other features of Realm will work as expected, including querying, relationships and thread-safety.If you’re looking to use Realm from Objective‑C, or from mixed Objective‑C & Swift apps, please see Realm Objective‑C instead.The Realm Objective‑C and Realm Swift APIs are not interoperable and using them together is not supported.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.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 property (and vice-versa).In order to handle this, it is necessary to ensure that the file protection attributes applied to both the Realm file itself and its auxiliary files is downgraded to a less strict one that allows file access even when the device is locked, such as .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.