An Xcode plugin let you build & run your selected lines of code in Xcode without running the whole project, youll have the output instantly in your Xcode console.

Source: wangshengjia/VWInstantRun