Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Finding subclasses of a class in objective-c

In the Apple docs there are a lot of classes that are meant to be subclassed or abstract classes. How can i find which classes are subclass of a given class?

For instance: If i'm looking at UIDummyClassAbstract, how can i find all classes that are subclassing UIDummyClassAbstract?

It would help to get a better overview

like image 508
Trj Avatar asked Sep 11 '12 14:09

Trj


1 Answers

It is not exactly in Documentation but you can inspect class hierarchy this way:

  1. Open "Symbol Navigator" (look for enter image description here icon)
  2. Toggle "Show only project defined symbols" option off (enter image description here icon in the bottom at the window)
  3. You can inspect class tree now :)

enter image description here

like image 107
Vladimir Avatar answered Sep 27 '22 20:09

Vladimir