Setting the text of a BarButtonItem on the NavigationBar?
<p>Id like to remove an icon and add text to BarButtomItem, but im not sure how to do it. here is my currrent code: </p>

<pre><code>let logoutButton = UIBarButtonItem(barButtonSystemItem: .Action, target: self, action: #selector(SettingsViewController.logout))
        self.navigationItem.setRightBarButtonItem(logoutButton, animated: false)  
</code></pre>

<p>I thought i could just do <code>UIBarButtonItem(text: "sign out", ...</code> but I guess that doesn't work. </p>