A Story About Swizzling "the Right Way™" and Touch Forwarding
Read OriginalThe article discusses the author's experience with method swizzling in Objective-C, highlighting problems like app freezes when interacting with other SDKs. It critiques the standard use of `method_exchangeImplementations`, explains why it's flawed (e.g., breaking `_cmd` assumptions), and presents an alternative, safer implementation using blocks and careful runtime manipulation.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
1
2
Better react-hook-form Smart Form Components
Maarten Hus
•
2 votes
3
AGI, ASI, A*I – Do we have all we need to get there?
John D. Cook
•
1 votes
4
Quoting Thariq Shihipar
Simon Willison
•
1 votes
5
Dew Drop – January 15, 2026 (#4583)
Alvin Ashcraft
•
1 votes
6
Using Browser Apis In React Practical Guide
Jivbcoop
•
1 votes