Getting error : Expected expression in list of expressions – Ios swift
Can i not use switch to check for a variable and implement a view based on the variable's value. I tried using if else as well but still getting the same error. Do I have to create a method and…