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.
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.