Friday, January 10, 2014

xcode delete a ViewController class always being given after reconstruction

Specific circumstances, the addition of a class that inherits from UIViewController in the project, using a xib file (check with xib for user interface), and then put a UIImageView code file and drag established outlet. After deleting the three files of this class (h, m, xib) and then add a class with the same name does not use xib files, can not stop the error '[ setValue: forUndefinedKey:]: this class is not key value coding-compliant for the key xxxImageView. 'tough is that I completely remove the entire catalog of the redevelopment project file is still the case, even after I put this disc erase reconstruction project is still the case.
Mentally ask an expert to answer this question.
Reply:
A solution is found, the project clean look, and then reset the simulator. Simulator also may be left to define some symbol of it.

No comments:

Post a Comment