swiftbond

What is the best way to connect Realm and SwiftBond

我怕爱的太早我们不能终老 提交于 2019-12-06 04:34:41
问题 I love Realm and I love Bond. Both of them makes app creation a joy. So I was wondering what is the best way to connect Realm and Bond? In Realm we can store basic types such as Int , String , e.g. But in Bond we work with Dynamic s and Bond s. The only way that I found to connect Realm and Bond is following: class TestObject: RLMObject { dynamic var rlmTitle: String = "" dynamic var rlmSubtitle: String = "" var title: Dynamic<String> var subtitle: Dynamic<String> private let titleBond: Bond