I am trying to remove a model from Realm. I appears there's a straightforward way to do it in Java with
realm.getSchema().remove(className)
It doesn't appear there is an option in Swift 3 other than to remove the model from the App and then migrate the data, or delete the entire Realm file.
To clarify, when I open the Realm Browser I have three models
Dog 2
Person 4
Test 0
and I want to remove just the Test model via code. There doesn't appear to be any way to remove it via the Browser either.
Perhaps I overlooked something in the docs?