this class is not key value coding-compliant for the key XXX

后端 未结 2 1826
心在旅途
心在旅途 2021-01-28 17:48

I\'m a beginner in everything programming and have been trying to implement some self learned stuff from the Big Nerd Ranch Books. But I\'m really stumped by this problem, and y

2条回答
  •  -上瘾入骨i
    2021-01-28 18:14

    When this error message appears it is very often a bad connection in a xib file or storyboard. I'll guess that this is an old example that has a MainWindow.xib file in it, with the File's Owner set as the UIApplication class. There is most likely a connection in that xib to an outlet called repsField in the File's Owner which, of course, does not match anything in the actual class.

提交回复
热议问题