Hello guys

Hello guys,

Has anyone tried to intercept ARC's RefCount increase or decrease? Is there way to trace RefCount changes?

Thanks in advance :D

Comments

  1. Yes, someone has. ;-P

    Now, what are you really trying to do?

    ReplyDelete
  2. Nick Hodges I need to run some code after RefCount increasing and decreasing such as logging the current value of it :D

    ReplyDelete
  3. Well hmm. I don't know how to do that, but I bet someone else will.

    ReplyDelete
  4. __ObjAddRef and __ObjRelease are regular virtual methods. Just override them in your classes that need to log the value.

    ReplyDelete

Post a Comment