code_junkie

iPhone App Crashing - Error Question

Nov 10th, 2011
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. Application Specific Information:
  2. iPhone Simulator 1.0 (70), iPhone OS 2.0 (5A331)
  3. *** Terminating app due to uncaught exception 'NSUnknownKeyException',
  4. reason: '[<UIView 0x34efd0> setValue:forUndefinedKey:]: this class is not key value
  5. coding-compliant for the key kramerImage.'
  6.  
  7. [@"hello world" length] // Objective-C 1.0
  8. @"hello world".length // Objective-C 2.0
  9.  
  10. [@"hello world" valueForKey:@"length"]
  11.  
  12. [@"hello world" valueForKey:@"purpleMonkeyDishwasher"]
  13.  
  14. NSArray * nib = [[NSBundle mainBundle] loadNibNamed:@"rootCell-iPad" owner:self options:nil];
  15.  
  16. cell = [nib objectAtIndex:0];
  17.  
  18. @interface MyFirstIphoneAppViewController : UIViewController<> {
  19. UIImageView *InitialkramerImage;
  20. }
  21. @property(nonatomic,retain) IBOutlet UIImageView *InitialkramerImage;
  22.  
  23. @interface MyFirstIphoneAppViewController : UIViewController<> {
  24. UIImageView *kramerImage;
  25. }
  26. @property(nonatomic,retain) IBOutlet UIImageView *kramerImage;
Add Comment
Please, Sign In to add comment