eladb / Parse-NSCoding

iOS library for serializing Parse objects
MIT License
69 stars 25 forks source link

PFRelation #4

Closed colinhumber closed 5 years ago

colinhumber commented 10 years ago

Have you been able to get this working if one of the PFObjects has a PFRelation associated with it? I wrote a simple PFRelation+NSCoding category to serialize the targetClass property, but when the -initWithCoder: tries to deserialize the PFRelation and set it I get an exception:

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'PFObject values may not have class: PFRelation'

martinrybak commented 10 years ago

Hi Colin, sorry for the delay. Currently there is no support for PFRelations. Our company isn't using Parse anymore for many reasons (that's a topic for a future blog post), so we won't be updating this repo any further. However @eladb has agreed to take ownership, so hopefully he or the Github community can work on that further. Cheers!

ace1294 commented 10 years ago

Colin did you ever get your extension for PFRelation working? If not I bet we can collaborate.

thibautrey commented 10 years ago

Ok guys I also need to work with PFRelation so I will give it try. Hopefully I will be back in a few hours with the implementation. If someone has already started some work on it feel free to spread it.

zake1989 commented 9 years ago

Hi guys, anyone resolve this problem I also got this Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'PFObject values may not have class: PFRelation' don't even know where this problem came from~~

LJWilliamsIV commented 9 years ago

I'm having the same issue. @zake1989 have you found a solution yet?