Representor in Swift