You asked the same question before here with normal physics, which you marked as solved after someone posted an example:
You then asked a question similar to your op here, and got an example:
You even already asked this in the chipmunk forum, where I responded with a general suggestion, since you weren't specific about what what was wrong other than it doesn't work.
So in general you're just looking for a completed working example I guess. Applying forces are one of the simplest things to do with physics, and is about the same in chipmunk. The swipe direction I guess could be trickier, but it's just a matter of checking where you first touched to where you're currently touching.
How do you know where you're currently touching? There's the Touch.x, touch.y expressions.
How do you know where you first touched? Save the touch location to variables under a "on touch" condition.
How do you compare the two directions to find a direction? Something simple like a "system compare" with the current touch position and where you first touched.
I won't make a capx, but you can do events like this:
global number firstTouchX=0
--- set firstTouchX to touch.x
touch.x < firstTouchX
--- apply force (-100,0)
touch.x > firstTouchX
--- apply force (100,0)