I'm getting an error when I try to ask an if/else statement in Xcode 6 with swift. This is what I have
}else if countElements(sender.text) == 1, 2
It's telling me "Type 'String!' does not conform to protocol '_CollectionType'
How can I compare two values on one line? Thanks
Aucun commentaire:
Enregistrer un commentaire