title: Associate UIVIew with UIButton in IBAction
body: <p>I have a view controller (in a storyboard) with 6 buttons and 6 subviews. Those subviews are connected to IBOutlets and named like "mySubView1", "mySubView2" etc: </p>
  
  <pre><code>@property (weak, nonatomic) IBOutlet UIView *mySubView1;
  @property (weak, nonatomic) IBOutlet UIView *mySubView2;
  </code></pre>
  
  <p>I want to animate the alpha value of the subview depending on which button was pressed. All 6 buttons are connected to the same IBAction (below) and each button has a tag (1 to 6). </p>
  
  <p>How do I get the subview property name dynamically? eg, mySubView1 if sender.tag = 1 for example, in the animations block below: </p>
  
  <pre><code>- (IBAction)animateSubviews:(id)sender {
  
  [UIView animateWithDuration:0.4
                        delay: 0.0
                      options: UIViewAnimationOptionCurveEaseOut
                   animations:^{
                        self.mySubView1.alpha = 1;
                   }
                   completion:^(BOOL finished){
  
                   }];
  </code></pre>
  
  <p>}</p>
  
  <p>so what I need is something like : self.mySubView[sender tag].alpha = 1 sort of thing, but I'm stumped, so any advice much appreciated.  </p>
  
  <p>Many thanks </p>