eleme / Stinger

Stinger is a high-efficiency library with great compatibility, for aop in Objective-C, using libffi instead of Objective-C message forwarding. It is 20+ times faster than the Aspects, from message-sending to Aspect-oriented code ends.
MIT License
996 stars 127 forks source link

在OC和Swift的混编项目中,这个库对swift类的方法可用吗? #3

Closed sayHelloox closed 5 years ago

Assuner-Lee commented 5 years ago

只要swift类可接收消息就可以吧,我记得有一些和oc类类似(鄙人不写swift)

chausson commented 5 years ago

必须继承NSObject才能使用,不然不走消息发送