Could not cast value of type ... to


Hi guys,

I am on page 150 of the book but I got the following error.
I reviewed my code for typos but could not find any.
Any help would be greatly appreciated!


Did you set the class of your tableviewcontroller in storyboard to “ItemsViewController” ?


Yes I did.

I just restarted and re-wrote the program and it worked. I am not sure what the issue was…
Thank you anyways!



you’re welcome :slight_smile: