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 trialFrank Spicuzza
95 PointsWhat does unresolved identifier mean?!
I’m positive I have done it right. I’ve rewatched the video several times and I don’t understand what’s wrong. I go to preview and it says unresolved identifier. WHAT DOES THAT MEAN AND HOW CAN I FIX IT?!?!
1 Answer
Sahil Gangele
6,851 PointsIt would be super helpful if you posted your code, but to answer it: Unresolved Identifier
means that Xcode doesn’t understand what your typing. An identifier means many things: Framework, function, variable, constant, property, or a class. An identifier is simply a name for a Framework, function, variable etc. And it being “Unresolved” means that it can’t find the identifier. So, make sure when you use a variable, that the name / identifier of the variable is the same as the name used to declare the variable, otherwise Xcode will show this error again. And this applies to all functions, classes etc.