Latest iOS Interview Questions
Code:
enum Test: Int { case VeryOld = -1 case Old case Current case Future } let testEnum = Test.Current print("testEnum.rawValue: \(testEnum.rawValue)")
Output:
Thanks
No comments:
Post a Comment
Thanks