Meaning of “swing” - Learner’s Dictionary

swing

verb uk us /swɪŋ/ (past tense and past participle swung)
BACKWARDS/FORWARDS [ I, T ]

B2 to move smoothly backwards and forwards, or to make something do this:

She really swings her arms when she walks.
CURVE [ I, T ]

to move smoothly in a curve, or to make something do this:

The door swung shut.
Watch the ball as you swing the bat.
CHANGE [ I ]

If someone's opinion or their feelings swing, they suddenly change:

Her moods swing with absolutely no warning.

(Definition of “swing verb” from the Cambridge Learner’s Dictionary © Cambridge University Press)