user1589906
user1589906

Reputation:

How to fix error [<UIViewController 0x752f5a0> setValue:forUndefinedKey:]

I'm new to IOS and I'm stuck with an error I added a table view in my storyboard named timelinetable and after some time I deleted that from my storyboard but after that when debugging it shows an error

Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key timelineTable.'

but I cant find anything named timelinetable in my project so how can I fix that problem

Upvotes: 1

Views: 5245

Answers (2)

V-Xtreme
V-Xtreme

Reputation: 7333

  1. Go to the xib
  2. click on files owner and click on the show connection inspector button (last one ).
  3. Check out all the connections . The problem is due to you are referencing the outlet which is no more exist.

Upvotes: 11

Syed Faraz Haider Zaidi
Syed Faraz Haider Zaidi

Reputation: 1369

you connect an outlet and you then remove the controller without removing its outlet.

Upvotes: 1

Related Questions