Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

Swift enums with rawValue

enum Size : Int {
  case small = 10
  case medium = 12
  ...
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Swift #enums #rawValue
ADD COMMENT
Topic
Name
3+7 =