realm Print file location - Objective-C


Example

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.