steipete / Aspects

Delightful, simple library for aspect oriented programming in Objective-C and Swift.

Home Page:https://twitter.com/steipete

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

jianke123 opened this issue · 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.

commented

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