I\'m playing around with realm (currently 0.85.0) and my application uses the database to store user-specific data such as the contacts of the current user. When the user de
As of realm 0.87.0, it's now possible to delete all realm contents by calling [[RLMRealm defaultRealm] deleteAllObjects] from a write transaction.
[[RLMRealm defaultRealm] deleteAllObjects]
From Swift, it looks like this: RLMRealm.defaultRealm().deleteAllObjects()
RLMRealm.defaultRealm().deleteAllObjects()