I recently noticed that some codes initialize instances like ClassName.self (), for example:
let realm = try! Realm.self()
From the output and use in the future, it looks like without Realm ()
Is there any specific reason or use to execute init with .self?
source
share