Get position in class hierarchy

Posted by jean on Stack Overflow See other posts from Stack Overflow or by jean
Published on 2010-04-14T13:34:14Z Indexed on 2010/04/14 13:43 UTC
Read the original article Hit count: 272

Filed under:

Is the a way to get the number of ancestors for an instance of class? E.g. a class of type UITouch would be of level 2 as it inherits from NSObject.

© Stack Overflow or respective owner

Related posts about objective-c