Remove outdated swift example

This API has since been audited. I think we should still have this in
the guide, does anyone know of an API we could use in place of this?