-
-
Notifications
You must be signed in to change notification settings - Fork 870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PFObject.state causes crash #33
Comments
Hey @craiggrummitt thanks for reporting this with a repro. |
Found the issue. It is related to our automatic inferring of instance variables for subclassed objects. For some backwards compatibility reason, if you have an instance variable on your Now, normally this isn't an issue. It works in 99% of all cases. However, in the case of state, we have an iVar on |
Should be fixed in #35. |
If a PFObject contains a variable called 'state' saving this object causes a crash.
You can find a sample bare bones project based on Parse Starter Project(v1.8) illustrating the bug here:
https://github.com/craiggrummitt/ParseStateBug
Error in console:
NSInvalidArgumentException', reason: '-[Swift._NSContiguousString isDeleted]: unrecognized selector sent to instance ...'
The text was updated successfully, but these errors were encountered: