Xcode Plugin: Change Code In Running App Without Restart

Injection for Xcode is a really cool idea, with this plugin you can update code in a running application, with no need to restart your app.
With this Xcode plugins, you must open the Xcode plugin project, build, exit and restart Xcode. A new submenu will be added to the Product menu – for the specifics, you can read more here.
From the injectionforxcode.com site:
“Injection works by compiling your class in a bundle project in the normal way which is then loaded into your application. The new method implementations are then “swizzled” onto the original class so they take effect immediately. This is completely automated by the plugin and a short stub of code #imported into main.m.”
Here is a video that shows the plugin in action.

Leave a Comment