sbonami / PFIncrementalStore

Offline Parse with Core Data Persistence, an NSIncrementalStore subclass.
http://sbonami.github.io/PFIncrementalStore/
MIT License
97 stars 15 forks source link

Example unusable, do I miss something? #52

Open callzhang opened 10 years ago

callzhang commented 10 years ago

I did more test and here is what I have found. Hope it could be a help to you guys:

1) The Magic Record example don't save to remote when created locally 2) The framework is not compatible to Core Data validation process, i.e. the "optional" on property and relation configuration. If I keep it as shipped(with some not optional), the CoreData validation will threw exception. If I turn everything optional, the object created locally cannot fetched properly from remote at first time so that the relation is nill. (artist.song = nil) 3) Cascade role on relation doesn't work either. (I think the underlying issue its that the relation is not fetched properly.) 4) Pointer type relation works, but PFRelation doesn't work.

sbonami commented 10 years ago

Thanks for the bug report, I'll look into this as soon as I'm able.