The match ended in a draw, with England having made 329 for eight declared and the South African team 167 for seven in reply.
Off-spinner Swann took six for 55 after he had cracked a quick 39 off just 31 balls at the end of the England innings.
England Test opener Alistair Cook made 81, with Ian Bell weighing in with 48 and Matthew Prior 44.
Sammy-Joe Avontuur hit a patient 68 for the South African XI. He was the top scorer before he became one of Swann's victims, caught behind the wicket. Swann dismissed two of the South African batsmen, David Wiese and Mangaliso Mosehle, without them scoring.
England play another two-day game in East London, starting today.
He was playing for an England Performance Programme XI at the LC de Villiers Oval in Pretoria.
In the Titans' total of 235, Faf du Plessis made an unbeaten 124.
Read all 1 comments