title: How to check if a UIViewController is of a particular sub-class in objective c?
body: <p>I want to be able to check the type of a UIViewController to see if it is of a certain type like this</p>
  
  <p>c code</p>
  
  <pre><code>if (typeof(instance1) == customUIViewController) 
  {
    customUIViewController test = (customViewController)instance1;
  
    // do more stuff
  }
  </code></pre>