steipete / Aspects

Delightful, simple library for aspect oriented programming in Objective-C and Swift.
https://twitter.com/steipete
MIT License
8.4k stars 1.26k forks source link

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

Open jianke123 opened 7 years ago

jianke123 commented 7 years ago

case:

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

youlianchun commented 7 years ago

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

zhaopeng21790 commented 5 years ago

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