forkingdog / ProtocolKit

Protocol extension for Objective-C
MIT License
573 stars 81 forks source link

优化注入代码,避免在一开始 all class initialized 情况 #5

Open li6185377 opened 6 years ago

li6185377 commented 6 years ago

由 objc_copyClassList 改为基于 resolveInstanceMethod 方法触发。 https://www.jianshu.com/p/53c7e731b70e