Peter Livesey
Peter Livesey
I'm not sure if this helps (I'm new to both this library and cloudkit), but I don't think to-many relationships are supported: https://github.com/caiyue1993/IceCream/blob/e66225ae7c91ec8f2bce8ce62ddf7079ce0e1e28/IceCream/Classes/CKRecordConvertible.swift#L126 I just found this now and am...
No, that sounds right...lmk if you find anything here. I'll let you know if I find anything which could help. (Also, I decided not to implement to many relationships and...
So yeah, you were right. And I've also ran into the same problem here and do think that it's a bug in IceCream. If it helps, I solved it by...
@ivanvorobei did you see the commit I referenced above? Basically, it processes the objects in order from parent to child. You could also take a look at my fork which...
Oh yeah...parent/child is confusing here. Not sure what the right terminology is here. In this case, I think your model is correct. Your model is actually correct. It's unfortunate, but...
When you create the sync engine: ``` self.engine = SyncEngine(objects: [SyncObject(...), SyncObject(...)]) ``` This ensures that all person objects will be added to the db before debt objects and therefore...
So, the order is created here on initialization.
This is only in my version. It's only in this commit: https://github.com/plivesey/IceCream/commit/24c2b84e1a0da8e7f2f3bf2c757d6d27b960da24 which is only in my fork. My fork has a bunch of changes which I do eventually intend...
@Fonceur sorry, but I ended up just writing my own solution because ice cream was missing too many features. So, I don't really remember much about this code/have the time...
Hahaha...I was just thinking of opening the same issue. This is by far the easiest dependency I've ever added...and it immediately did what I expected. Awesome project, thanks. 🙏