Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using XCode Instruments ObjectAlloc -- how to show only my classes?

Tags:

xcode

In the Instruments tool, ObjectAlloc, is there a way for me to filter the classes it shows to just classes that I've created, and not system classes?

ie I don't want to see all the instances of CFArray and GSEvent but I want to see all the instances of MyClass, etc.

Thanks!


1 Answers

I don't think there is. Sorry. I remember it used to be recommended that you prefix all your classes with the same start String - the way Apple still uses NS**** for it's classes (from NextStep).

I don't know if people still do this but it would enable you to filter ObjectAlloc's results somewhat in Instruments.


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!