Created
January 28, 2016 03:17
-
-
Save geykel/c80dd868f9b7659986b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// valores raw implícitos desde 0 | |
enum Monedas: Int { | |
case DolarAmericano | |
case PesoCubano | |
case LibraEsterlina | |
case Yen | |
} | |
let dolar = Monedas.DolarAmericano.rawValue | |
let peso = Monedas.PesoCubano.rawValue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment