title: Objective-c - iOS - hide/unhide label, textfield etc
body: <p>I want to hide/unhide controls of a subview in a view. For example: When a button action occurs, some labels will become hidden then unhide on a subsequent button action and so on. I have implemented this functionality through Interface Builder. How can I do the same implementation programmatically? </p>
  
  <p>I've tried</p>
  
  <pre><code>[label1 hidden: true];
  </code></pre>
  
  <p>which hasn't worked for me.</p>