In this project i wanna build an useful DataBase with realm, nevertheless i'm a GRDB fan π, but whatever let's give it a shot π
It's pretty simple, just follow these instructions and you have it π
let object = RealmObject()
Cruder<RealmObject>().connect(actionType: .create, item: object)
let items = Cruder<RealmObject>().getItems()
let item = Cruder<RealmObject>().getItem(with: "your object id")
Cruder<RealmObject>().connect(actionType: .update, item: RealmObject(), newItem: AnotherRealmObject()) { (success, error) in }
Cruder<RealmObject>().connect(actionType: .delete, item: RealmObject()) { (success, error) in }
sahandraeisi1994@gmail.com, sahandraeisi@yahoo.com, shndrs
HaveFunWithRealm is available under the MIBSL-1.0 license. See the LICENSE file for more info.