Swift: Test class type in switch statement Swift: Test class type in switch statement swift swift