I want to be able to check the type of a UIViewController to see if it is of a certain type like this
c code
if (typeof(instance1) == customUIViewController) { customUIViewController test = (customViewController)instance1; // do more stuff }