Reputation: 1722
I have a problem on UITextView field in file xib because before that load view the app crash.So I have gone in file.h and I have seen that @property (retain, nonatomic) IBOutlet UITextView *description linked to file xib has the warnings
I have tried that if I delete the IBOutlet UITextView *description and the object from file xib, I have discovered that the problem is generated from it.
How to resolve this problem? Thanks
The message from error compiler is below:
Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key description.'
Upvotes: 0
Views: 186
Reputation: 766
NSObject got the description method, so you should use another variable name in order to avoid issues. Then you should declare your IBOutlets with 'weak' property.
Upvotes: 2