daily pastebin goal
52%
SHARE
TWEET

Untitled

a guest Jan 17th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. AppModel.instance.loginDataObject.uid.stringValue
  2.    
  3. NSLog(@"uid stringValue: %@", AppModel.instance.loginDataObject.uid.stringValue);
  4.    
  5. -[__NSCFString stringValue]: unrecognized selector sent to instance 0xa8525d0
  6.    
  7. #import "Jastor.h"
  8.  
  9. @interface LDLoginData : Jastor
  10. @property (nonatomic, strong)   NSString    *api_login_key;
  11. @property (nonatomic, strong)   NSString    *clazz_reg_code;
  12. @property (nonatomic, strong)   NSNumber    *current_clazz;
  13. @property (nonatomic, strong)   NSString    *mail;
  14. @property (nonatomic, strong)   NSString    *name;
  15. @property (nonatomic, strong)   NSString    *profile_first_name;
  16. @property (nonatomic, strong)   NSString    *profile_last_name;
  17. @property (nonatomic, strong)   NSNumber    *teacher_id;
  18. @property (nonatomic, strong)   NSNumber    *uid;
  19. @property (nonatomic, strong)   NSString    *user_type;
  20. @property (nonatomic, strong)   NSNumber    *va_user_clazz_id;
  21. @end
  22.    
  23. po AppModel.instance.loginDataObject.uid
  24. (NSNumber *) $1 = 0x0a8525d0 7593
  25.    
  26. po AppModel.instance.loginDataObject.uid.stringValue
  27. error: property 'stringValue' not found on object of type 'NSNumber *'
  28. error: 1 errors parsing expression
  29.    
  30. po AppModel.instance.loginDataObject.uid.description
  31. error: property 'description' not found on object of type 'NSNumber *'
  32. error: 1 errors parsing expression
  33.    
  34. NSLog(@"uid stringValue: %@", AppModel.instance.loginDataObject.uid.description);
  35.    
  36. 2012-09-29 15:02:11.829 MyApp[28661:c07] uid stringValue: 7593
  37.    
  38. -[__NSCFString stringValue]: unrecognized selector sent to instance 0xa8525d0
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top