At startup, an error occurs: this class is not key value coding-compliant for the key ...

I am writing a project from scratch. The error appeared when I copied and tried to knock the code from a similar project, then I removed the code, the error remained. Image1 is a view on the form.

enter image description here

enter image description here

Can I fix it or do a storyboard again?

Project: https://drive.google.com/file/d/0B747MENi-kV0RUJMa1M2clBjbms/view?usp=sharing

  • Give a description of the error and a couple of screenshots of the storyboard. I won’t debug your project,) - Valentine
  • this class is not key value coding-compliant for the key - Anatoly

1 answer 1

It is a pity that you ignored the request about the screenshot. I'll try, then guess. The class that is implemented in the code does not have the outlet that you put in the storyboard. Apparently, you did not completely transfer the class from another project or delete something in it.

Look for the name of the class and key in the log (it is there), find it in the storyboard and delete the link. It should be highlighted in yellow.

  • as I ignored, the screenshot in question - Anatoly
  • one
    strange, he just appeared in me now. Then sorry. Call the context menu for the top objects and delete the yellow links. Also click on the red arrow (to the right of the View Controller Scene) and correct the errors from the list - Valentine
  • That helped. In the context menu, it became noticeable that there are inactive outlets. Just demolished them and the application started. thank you very much. - Anatoly