-1

I'm really not sure why this is happening but if you could help it would be great

image of error

  • If you copy-paste the error, you will find a ton of explanations. For example https://stackoverflow.com/questions/3088059/xcode-how-to-fix-nsunknownkeyexception-reason-this-class-is-not-key-valu – Sulthan Aug 15 '20 at 19:00

1 Answers1

0

You have a xib PersonCell and a class PersonCell. In the xib there exists an outlet called UIlabel that is not present in the class. Remove the outlet from the xib.

The crash happens when table view is generating a cell of type PersonCell and tries to connect an outlet that does not exist.

Sulthan
  • 123,697
  • 21
  • 207
  • 260
  • by any chance do you know how to fix a visual error like this https://imgur.com/a/71KuvTx – zerotwoswift Aug 15 '20 at 19:03
  • @zerotwoswift I have no idea what is supposed to be wrong on the screenshot and I won't definitely answer another question in comments. Please, create a proper question and accept this answer if it helped solving your problem. – Sulthan Aug 15 '20 at 22:23