add swift example

Example using Swift language