http://developer.apple.com/iphone/library/samplecode/MoveMe/index.html