TABAnimated
TABAnimated copied to clipboard
对collectionView的代理做方法交换后,hook的方法执行了两遍
xcode13 iOS14.6及iOS15.4.1(手上现有的设备) demo地址
以willDisplayCell举例, 因为业务需要hook了一下,( willDisplayCell-myhook) 然后发现willDisplayCell-myhook会执行两遍,但是原方法(willDisplayCell)是只执行一次; TABAnimated中hook后执行原方法是用的selector; 不知道是不是自己写法和TABAnimated中hook的写法哪里有冲突,希望作者可以看下


demo无法体现
demo无法体现 可以看下log输出,每出现一个cell,myhook_collectionView:willDisplayCell:方法执行了两次; 在这里的截图有所体现 https://github.com/tigerAndBull/TABAnimated/issues/204#issue-1334000130