Codify is available in the App Store. It is a first code editor for iPad with the native interface and support for the touchscreen. It is very convenient: using a finger press on the object features and a pop-up window will appear with a list of options. Most importantly, the written code can be run any time in order to test the accelerometer and multi-touch. There would be no more problems with emulators!
Codify is built on the base of Lua language that is a simple and smart programming language, and it is well suited to create games for iPad.