草庐IT

setDefaultRealmPath

全部标签

ios - Realm = RLMRealm' 没有成员 'setDefaultRealmPath'

我已将Realm.framework和RealSwift.framework添加到项目中。和“导入Realm”虽然我收到这个错误:RLMRealm'没有成员'setDefaultRealmPath'letdirectory:NSURL=NSFileManager.defaultManager().containerURLForSecurityApplicationGroupIdentifier("group.it.fancypixel.Done")!letrealmPath=(directory.path!asNSString).stringByAppendingPathCompone