Dec. 6, 2013
9 a.m.
Hi guys, I am using Spy for my project, and I need to do something which, on top of my knowledge, is not supported. Here is the point: Spy allows to insert code before (#beforeRun:with:in:) and after (#afterRun:with:in:) and works perfectly. Now suppose I want to inject some code *inside* the method, e.g., aMethodToBeProfiled do something "Injected code accessing some fields of the current instance of this objectâ Transcript show: self field asString. Is there any support for this? Thanks in advance, R