objective c - Swizzling have to be on main thread? -


i succesfully swizziling imagenamed: method when on main thread.

here code, js-ctypes: https://gist.github.com/noitidart/e8105a5f702dc9e6a4b8

i seem crashing when doing thread. i'm not sure if it's typo somwhere, i'm still digging can't seem find mistakes. wondering if swizziling method_setimplementation not thread safe?

does same thread safety apply swizziling method_exchangeimplementations?

i think have issue in code can recommend jrswizzle library https://github.com/rentzsch/jrswizzle , demo how use: https://github.com/kostiakoval/jrswizzleexample


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -