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

Unresolved Identifier

I am getting an error titled " use of an unresolved identifier". Can someone please explain what an identifier is in Swift and what it means when it is unresolved. I know I could find the correct code in the forum somewhere but would really like to understand the jargon so it makes my learning deeper and easier. Rob

1 Answer

Hi Rob,

An unresolved identifier is a word that Swift doesn't understand. So, if you try to use a variable that you haven't declared or if you mis-type a method name, Swift won't know what it is looking at and flag it as an unresolved identifier.

Hope that helps

Steve.