Hi there ...
This is the fifth chapter of Mastering Swift Tutorial series.
In this chapter we are going to take a look at Switch case statement in swift.
The switch statement takes a value, compares it to several possible matches,
and executes the appropriate block of code based on the first successful match.
It is an alternative to using multiple else-if statements.
00:42 Defining switch statement
03:19 Switch on closed range operator
05:35 Switch on tuples
You are gonna see lot of things about programming in a simplified tutorials.
What do you waiting for to be a member of this ship.
You can support this ship by subscribing : - / @programmership
#swift
#switch
#ios