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 trialmatt tripodi
2,673 PointsProblem with Algorythm app
Can someone please explain why I keep getting this error and the app keeps crashing whenever I hit the button, I have all the code exactly the same as in the video.
2015-03-21 21:29:03.058 Algorythm[5356:539229] Unknown class _TtC9Algorythm42PlaylistDetailViewContorllerViewController in Interface Builder file. 2015-03-21 21:29:03.064 Algorythm[5356:539229] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x7fe00bf86b60> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key buttonPressLabel.' *** First throw call stack:
3 Answers
heinz meza
4,788 Pointssame here ...nothing happen. My code Keeps crashing. Any help please
Kevin Hein
7,201 PointsTry deleting the buttonPressLabel from PlaylistDetailViewController, and control dragging it back onto the PlaylistDetailViewController. double check to be sure that its a UILabel! (and be sure that you grabbed the label when doing this). This fixed the problem for me.
Ethan Roode
6,675 Pointstry cleaning your project, Product> Clean or Shift-Command-K