iOS How to detect the instance is inheritance of some class or not.
Intoroduction
This are article shows how to detect the instance is inheritance of some class or not.
Solution
if someInstane is SomeClass { // The Instance is inheritance of some class. } else { // Instance is not inheritance of some class. }