title: Multiple Buttons, But only one pressed at a time
body: <p>I've been looking through the site and I've been unable to find anything that answers my question. In my app i have a modal dialog that displays a UICollectionView that uses a custom cell and only contains a UIButton. </p>
  
  <p>I have set the buttons up to be selectable rather than single click. I want to only allow a single button to be selected at a time and when a button is selected I want the other buttons in that section to be disabled. I'm not sure how to go about this as I am still fairly new to IOS. The screen shot below shows the basic appearance of the model and the buttons. </p>
  
  <p>At the moment I can select multiple buttons but I need it to be single selection and when one button is selected the rest are disabled. For the moment I hand the selected in the class for my custom UICollectionViewCell and I have included it below. Any help and suggestions would be great i just need pointing in the right direction.</p>
  
  <pre><code>- (IBAction)Selected:(id)sender {
      if(_Button.selected == 0)
      {
          [_Button setSelected:YES];        
      }
      else
      {
          [_Button setSelected:NO];
      }
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/Exld7.png" alt="enter image description here"></p>