Added swift variant of the pmark snippet