Tutorial by Examples

Add the following line to ViewDidLoad method: print(Realm.Configuration.defaultConfiguration.fileURL!) The line above will print the location to Xcode's console. Copy the file path, go to Finder → Go → Go to Folder... (or ⌘+⇧+G)→ paste the path and hit Go.
Log the realm file location using: NSLog(@"%@",[RLMRealmConfiguration defaultConfiguration].fileURL); The line above will print the location to Xcode's console. Copy the file path, go to Finder → Go → Go to Folder... (or ⌘+⇧+G)→ paste the path and hit Go.
First you need to implement Realm at the start of your class using Realms; Then to print the location to the console : Console.WriteLine( RealmConfiguration.PathToRealm() ); Or if you're using DefaultConfiguration, you can use : Console.WriteLine( RealmConfiguration.DefaultConfiguration.Dat...
Copy the database from the emulator/phone to view it. It can be done by using ADB: adb pull /data/data/<packagename>/files/ That command will pull all Realm files created by Realm.getInstance(getContext()) or Realm.getInstance(new RealmConfiguration.Builder(context).build()). The default d...

Page 1 of 1