In Realm Java you can set allowWritesOnUiThread(false) to prevent being able to write to the realm on the UIThread. Is there something similar for iOS?
Historically I have been writing on the UIThread, but I want to avoid that now that I am moving toward sync. Is there a setting to assert this? Ideally I’d want the app to crash in debug builds if I write from the ui thread