Guest User

Untitled

a guest
Jun 20th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. import Foundation
  2.  
  3. enum TestPhases {
  4. case Beta
  5. case Alpha
  6. case Stable
  7. }
  8.  
  9. enum TestPhasesNew: String {
  10. case Beta = "Beta :)"
  11. case Alpha = "Alpha ;)"
  12. case Stable = "Stable :D"
  13. }
  14.  
  15. enum TestPhasesInt: Int {
  16. case Beta
  17. case Alpha
  18. case Stable
  19. }
  20.  
  21. TestPhasesInt.Beta.rawValue
Add Comment
Please, Sign In to add comment