Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Diary App Using Core Data Custom UITableViewCell Customizing Table View Cell Appearance

Tyler Matteo
Tyler Matteo
11,743 Points

App crashing on run at the 3:55 point in the video

When I get to the 3:55 mark in the video where Ash runs his app, mine crashes with the following error in the console:

[UITableViewCellContentView setText:]: unrecognized selector sent to instance 0x8e62a10 2014-10-14 17:47:57.712 lucid2[6607:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UITableViewCellContentView setText:]: unrecognized selector sent to instance 0x8e62a10'

I check my code a dozen times to make sure it matches up and have no idea what the issue could be. Any help?

Tyler Simko
Tyler Simko
5,610 Points

Hey Tyler,

Could you post the relevant code? I think the NSInvalidArgumentException error basically means that you're sending an argument that the function can't handle, so it's likely a small syntax error somewhere.

Tyler Matteo
Tyler Matteo
11,743 Points

I got it figured. Was simply bad connections with the labels in the prototype cell on my part. I redid them and it's all good now. Thanks anyway.