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

unrecognized selector sent to class or instance #145

Open zljkevin opened 6 years ago

zljkevin commented 6 years ago

Hook both class method and instance method of the same class with 'Aspects', crashed: unrecognized selector sent to class or instance.

Xcode9.3 crash demo: https://github.com/zljkevin/AspectsCrashDemo

747b8186-6892-4706-ad8c-5f7e69e31399

zljkevin commented 6 years ago

Solved in #146

ApesTalk commented 5 years ago

@zljkevin 请教下你这个改法在实际项目中使用了吗,会不会引起其他问题?

zljkevin commented 3 years ago

@zljkevin 请教下你这个改法在实际项目中使用了吗,会不会引起其他问题?

没有其他问题