Swipe not working

I expect you've added a new keyboard?

Go into settings->keyboard and then tap on the name of the keyboard.

In the options, make sure that "Type as a flick through letters" is ticked.