I\'m learning Swift and found one wonderful tutorial where explained how to create card game. Point is that we use 14 cards with card images and image files are named ca
Using map() this could be written:
var cardNamesArray = (0...13).map{"card\($0)"}