In Swift you can check the class type of an object using ‘is’. How can I incorporate this into a ‘switch’ block?

I think it’s not possible, so I’m wondering what is the best way around this.

4 Answers
4

Leave a Reply

Your email address will not be published. Required fields are marked *