use fog as swift client