
Abe Abe
Pro Student 46 PointsHi I need help
I need help what I’m doing wrong
// Enter your code below
var str = "Swift"
5 Answers

Brendan Whiting
Front End Web Development Techdegree Graduate 84,652 PointsI pasted your code into the challenge and got this error message: "Make sure your variable is named language!" and that's exactly that the problem is, you've called the variable str
instead of language
.

Abe Abe
Pro Student 46 PointsI still don’t get it

Brendan Whiting
Front End Web Development Techdegree Graduate 84,652 Pointsvar language = "Swift"
as opposed to
var str = "Swift"
Your code is just fine as Swift code but it doesn't follow the instructions of the challenge.

Abe Abe
Pro Student 46 PointsNo I already pass the challenge, now I’m in the second one and in my computer Xcode I trying to put the code and in the right side the answer doesn’t appears

Logan Irons
1,535 PointsIt happens from time to time... Quit Xcode and give 'er another shot.

jenko
8,400 PointsHi Ronald,
In X Code 10 the code no longer automatically "evaluates" thus providing the results in the right-hand side. It's quite annoying.
Try pressing Shift + Enter or if you see a blue Play icon in the gutter on the left side, click that to see the results.
Unfortunately, the iOS course material has not yet been updated to reflect this change.
Best of luck!