-
-
Notifications
You must be signed in to change notification settings - Fork 875
PFUser subclass fails on 1.14.0 #975
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
Comments
I do following after didFinishLaunching
|
@batkov, does your |
Thank you for your feedback. We prioritize issues that have clear and concise repro steps. Please see our Bug Reporting Guidelines about what information should be added to this issue.
|
Confirmed broken, I've subclassed PFUser as User and I get this error: |
@nlutsenko If MyUser subclass PFUser, you can't redefine the PFSubclassing implementation. |
@iStopped, you can't redefine the implementation, but you can declare the fact that you conform to MyUser.h
#import <Parse/Parse.h>
@interface MyUser : PFUser <PFSubclassing>
@property (nonatomic, assign) BOOL isComplete;
@end MyUser.m
#import "MyUser.h"
@implementation MyUser
@dynamic isComplete;
@end AppDelegate.m
NSLog(@"%@", [MyUser currentUser]);
NSLog(@"%@", [[MyUser currentUser] class]);
NSLog(@"%d", [[MyUser currentUser] isComplete]); |
The whole thing here is that you shouldn't be required to, you are right. |
@nlutsenko I'm talking about swift, you can't do that in swift. Sorry for the misunderstanding |
|
It is working, thanks. 👍 |
@nlutsenko Crashalytics says 800+ crashes on my beta build yet I never experienced any. Are these hard crashes? Also I never subclass anything, does PFUser use this class? |
@nlutsenko Even after updating to 1.14.1 the issue resurfaces. No actual crash though, but crashalytics seems to catch something. |
It seems to happen multiple times in an instance because only Apple bots have this beta under review and now crashes are 943 |
Just one last note: the version on my actual device with the same 1.14.1 doesn't experience any crash reports. Only the bots seem to cause issues |
Hi,
After update to 1.14.0 I'm experiencing constant crash when trying to work with subclass of PFUser.
Actually there is no subclass:
[MyUser currentUser] returns PFUser instance
After I rolled back to 1.13.0 everything works as is.
The text was updated successfully, but these errors were encountered: