Last active
February 1, 2022 12:13
-
-
Save FARUK-YILDIRIM/c5c22e5762dbe83059df1d41bb70a5ed to your computer and use it in GitHub Desktop.
Finding the path to the Realm Database file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import RealmSwift | |
| print("DEBUG: \(Realm.Configuration.defaultConfiguration.fileURL)") | |
| // DEBUG: Optional(file:///Users/farukyildirim/Library/Developer/CoreSimulator/Devices/DB27F964-1D6E-4F65-917D-2E812EB2E92A/data/Containers/Data/Application/AA51CF8D-3B4A-4E2D-A1E4-5666CF6B53FD/Documents/default.realm) |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I generally using AppDelegate -> didFinishLaunchingWithOptions while development.