Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Foundation
- enum TestPhases {
- case Beta
- case Alpha
- case Stable
- }
- enum TestPhasesNew: String {
- case Beta = "Beta :)"
- case Alpha = "Alpha ;)"
- case Stable = "Stable :D"
- }
- enum TestPhasesInt: Int {
- case Beta
- case Alpha
- case Stable
- }
- TestPhasesInt.Beta.rawValue
Add Comment
Please, Sign In to add comment