¡@

Home 

2014/10/15 ¤U¤È 10:03:29

iphone Programming Glossary: actiontext

problem with “this class is not key value coding-compliant”

http://stackoverflow.com/questions/3760803/problem-with-this-class-is-not-key-value-coding-compliant

reason ' NSObject 0x499fb20 setValue forUndefinedKey this class is not key value coding compliant for the key actionText.' There is my code here AlertCell.h #import UIKit UIKit.h #import Foundation Foundation.h @interface AlertCell UITableViewCell.. #import UIKit UIKit.h #import Foundation Foundation.h @interface AlertCell UITableViewCell IBOutlet UILabel actionText @property retain nonatomic UILabel actionText @end And AlertCell.m @implementation AlertCell @synthesize actionText void.. Foundation.h @interface AlertCell UITableViewCell IBOutlet UILabel actionText @property retain nonatomic UILabel actionText @end And AlertCell.m @implementation AlertCell @synthesize actionText void dealloc actionText release super dealloc @end..