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 Displaying Data with Table Views in Swift 2 Displaying Data in Table Views Custom Table View Cells

Evan Goodwin
PLUS
Evan Goodwin
Courses Plus Student 22,260 Points

App crashes at this step

gives error for AppDelegate

@UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate, UISplitViewControllerDelegate {

thread 1: signal SIGARBRT

2016-09-14 17:08:55.260 RestaurantFinder[3731:679087] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<RestaurantFinder.RestaurantCell 0x7fefdbd4eb30> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key restaurantCheckinLabel.'

1 Answer

Evan Goodwin
PLUS
Evan Goodwin
Courses Plus Student 22,260 Points

Nevermind, I deleted the label and all references to it and then created it again and hooked up the outlet. Works fine now.