JGMethodSwizzler
JGMethodSwizzler copied to clipboard
Cannot swizzle methods that have an inout parameter
I am unable to swizzle scrollViewWillEndDragging:withVelocity:targetContentOffset: of the UIScrollviewDelegate as the last parameter targetContentOffset is an inout parameter and blocks do not take inout parameter. Because of this the signature comparison fails and swizzling never happens.