title: How to get value from segmented control to know which one was picked
body: <p>I want to be able to use a segmented control, but I don't know how to get the value for which one was picked. I want to know so I can use a boolean value to determine between the two that were picked</p>