Created
June 8, 2020 18:21
-
-
Save MathVasc/5f9993e78abf8585697ef2df1bc99faa to your computer and use it in GitHub Desktop.
Swizzle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if let originalMethod = method1, let swizzledMethod = method2 { | |
| method_exchangeImplementations(originalMethod, swizzledMethod) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment