The TouchAction class in Appium was deprecated with Appium 2.0. Instead of using TouchAction for touch gestures like scrolling, swiping, or tapping, Appium now encourages the use of the W3C Actions API.