title: Using a UISegmentedController to insert specific numeric values into an equation
body: <p>I have created a <code>UISegmentedController</code> as an addendum to a <code>UITextField</code> in order to allow the addition of fractions to the <code>UITextField</code> entry. Specifically, I want the <code>UISegmentedControl</code> to be able to add 0, .25, .5, or .75 to the user input in UITextField. </p>
  
  <p>For example, user inputs 44 in the <code>UITextField</code> and chooses "even", ".25", ".5", or ".75" using the <code>UISegmentedController</code>. This total value, say "44.25" will need to be converted to a key to retrieve a corresponding value in a <code>NSDictionary</code> to be used in a calculation. I am awaiting clarification on an answer to change the final number to something that can be used in a calculation, but the focus here is how to make a <code>UISegmentedControl</code> selection create a value that can be added to my calculation.</p>
  
  <p>I don't have any code, alas, because I am unsure how to create target actions because the different segments don't allow for separate action creation in the way that say, <code>UIBarButton</code> items do. When I try to control-click-drag each section, <code>XCode</code> wants to create an action for the entire bar. </p>
  
  <p>I am hoping, optimistically, that this doesn't get downvoted into oblivion. I just don't know where to start. Any help would be greatly appreciated. </p>
  
  <p>Thanks very much for your time. </p>