Get Updates By E-mail 

Article Written By:
Johann Dowa

Source Code For Xcode Injection Plugin Released – Allows You To Tweak Running Apps

  •  
  •  
  •  
  •  
  •  

Recently I mentioned the excellent ColorSense plugin, and just last week mentioned an Xcode plugin for visualizing autoresize masks.

Here’s another great premium Xcode plugin by John Holdsworth that has recently been open sourced called Injection.

What injection allows you to do is “inject” source code into an app already running in the simulator or device so you can tweak your app to your hearts content without needing to re-compile.  A major time saver since the setup is all done automatically for this by the plugin.

According to the FAQ here’s how it works:

 The objective-C runtime always takes a categories implementation in preference to that of the main class. Injection converts the class being loaded into a category and places the category in a bundle so it can be loaded dynamically. This can be done repeatedly and works for OSX and iOS applications and on iOS devices.

Here’s a video showing Injection in action:

You can find the source code for Injection on Github here.

You can download Injection itself from the homepage here – this is a premium plugin, but very reasonably priced at $9.99->$25.00 considering the time it can save.

I’ve wondered since I first heard about this project exactly how the code injection was done so great of John to let out the source code so we can all see.

More: Xcode Plugins


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments