title: Can't programmatically hide UIButton created with IB
body: <p>My iOS UIButton is correctly linked from IB to an IBOutlet in my view controller, as I can change its title from my code. Ie:</p>
  
  <pre><code>[self.myButton setTitle:@"new title" forState:UIControlStateNormal]; //works
  </code></pre>
  
  <p>However, </p>
  
  <pre><code>[self.myButton setHidden:YES]; //doesn't work
  //or
  self.myButton.hidden = YES; //doesn't work
  </code></pre>
  
  <p>What's going on? How can I make myButton disappear?</p>
  
  <p><strong>Update: some additional info</strong></p>
  
  <p>Here's the code related in to my UIButton:</p>
  
  <p>in my .h file</p>
  
  <pre><code>IBOutlet UIButton *myButton;
  -(IBAction)pushedMyButton:(id)sender;
  @property (nonatomic,retain) UIButton *myButton;
  </code></pre>
  
  <p>in my .m file</p>
  
  <pre><code>@synthesize myButton;
  - (void)pushedMyButton:(id)sender{
      self.myButton.hidden = YES;
  }
  - (void)dealloc{
      [self.myButton release];
  }
  </code></pre>