add swift example