title: How do I make two UIButtons perform like radio buttons in Swift?
body: <p>I have two <code>UIButton</code>s that I want to use to set an A/B value to a variable before I save data to a database. I want a button to become selected when tapped, and deselected when the other button is tapped, and vice versa. What is a good solution for accomplishing this programmatically or in Interface Builder?</p>