iOS Swift Basics An Introduction to Swift Programming Working With Variables

The following Swift code works in Playground but fails in Challenge Task?

var language = "Swift" language = "Objective C"

Error: Oops! It looks like Task 1 is now failing.

variables.swift
// Enter your code below

var language = "Swift"
language = "Objective C"
eberhapa
eberhapa
51,495 Points

Did you restart the challenge?

1 Answer

NVM

"Objective C" vs "Objective-C"

Duh. Works now.