Created
January 28, 2016 03:18
-
-
Save geykel/9615cd48de83084d7bab 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 un valor explícitamente proporcionado | |
enum Monedas: Int { | |
case DolarAmericano = 1 | |
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