I am following the realm swift getting started guide here and it is working fine. I have the following object:
class Dog: Object {
dynamic var name = ""
dynamic var age = 0
}
and in my viewcontroller I have
override func viewDidLoad() {
super.viewDidLoad()
print(Realm.Configuration.defaultConfiguration.fileURL!)
let myDog = Dog()
myDog.name = "Rex"
myDog.age = 1
let realm = try! Realm()
try! realm.write {
realm.add(myDog)
}
}
little snitch reports that realm tries to connect to static.realm.io
and api.mixpanel.com
. How do I stop realm from attempting to connect to various servers if I only want to use it locally?