Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

Swift switch Statement

switch (expression)  {
  case value1:
    // statements 

  case value2:
    // statements 

  ...
  ...
        
  default:
    // statements
}
Source by www.hackingwithswift.com #
 
PREVIOUS NEXT
Tagged: #Swift #switch #Statement
ADD COMMENT
Topic
Name
8+7 =