Converting TouchHelper to Swift.