I discover this beautiful project on Github this morning that permits to inject dynamically code with Xcode4 without restarting the app. The project has a website where you can download the bundle for XCode 4. More explanation on how it's working could be found here.
Code Injection for Xcode (Plugin Version) from John Holdsworth on Vimeo.
Source : http://injectionforxcode.com/