Using isKindOfClass with Swift Using isKindOfClass with Swift ios ios