There are lots of WWDC 2011 video in apple's developer website. And in the video, there are some demo about coding in xcode.
The magic thing is: In these demo, the speakers didn't type the sample code one by one. They just press some keys in xcode, then the codes existed in xcode.
I think it's a good way to do the demo, so I want know what technique did apple use. I've do some research on the demo, it is not a simple "cmd+z" or "cmd+shift+z" method.