swift: clean up

Change-Id: I3a996a5f62e205aa68c0332baec9fadaf970fb3f
Signed-off-by: Giuseppe Lavagetto <glavagetto@wikimedia.org>