Now that is cool. ScriptKit is an iPad app that lets you program by dragging and dropping snippets of code. 

ScriptKit is a touchable programming environment for building simple mobile prototypes on iPad using native iOS UI components and social media APIs, available via an intuitive drag and drop interface.