@IBAction func cycanButtonAction(_ sender: Any) {
if ((anzeigeZahl.backgroundColor == UIColor.cyan) && FarbeOderZahl = false) {
score += 1
routine()
}
else {
youLostButton.isHidden = false
routine()
}
}in line 2 it says: "cannot assign to value && returns immutable value"
how can I fix it?
thanks!