steipete/Aspects

crashed when I hooked the method that returns a struct type value

jianke123 opened this issue · 2 comments

case:

  • (CGPoint)test
    {
    return CGPointZero;
    }

That method hooked must be crashed,can you help me resolve this.
thanks.

I have a demo that deals with your problem, and you can search for methodaspects on github, which is my demo.

I have the same problem and how did you solve the problem?
Is that a bug for Aspects?