Top Shelf extension), you have to use the You can also bundle prebuilt Realm files in your app.
However, be sure to comply with App Store guidelines, keeping your app under 200MB.
To handle errors when first accessing a Realm on a given thread, use Swift’s built-in error handling mechanism: 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.
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 .
Since the auxiliary files can sometimes be lazily created and deleted mid-operation, we recommend that you apply the file protection attributes to the parent folder containing these Realm files.
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).You can do this by setting the Realm works in such a way that the size of a Realm file is always larger than the total size of the objects stored within it.See our documentation on threading for some of the reasons why this architecture enables some of Realm’s great performance, concurrency and safety advantages.The framework is responsible for managing how synchronized Realms are cached or stored on disk.If opening a Realm requires a time-consuming operation, such as applying migrations, compaction or downloading the remote contents of a synchronized Realm, you should use the In some cases, you might not want to open a Realm until it has all remote data available.