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
Has anyone tried to intercept ARC's RefCount increase or decrease? Is there way to trace RefCount changes?
Thanks in advance :D
Yes, someone has. ;-P
ReplyDeleteNow, what are you really trying to do?
Nick Hodges I need to run some code after RefCount increasing and decreasing such as logging the current value of it :D
ReplyDeleteWell hmm. I don't know how to do that, but I bet someone else will.
ReplyDeleteNick Hodges Thanks in advance :D
ReplyDeleteAnd why would you need that...
ReplyDeleteMaybe using spring4d interceptor?
ReplyDelete__ObjAddRef and __ObjRelease are regular virtual methods. Just override them in your classes that need to log the value.
ReplyDelete