title: Cannot hide Controls in NSView
body: <p>I am developing  an application in cocoa. Now I am facing a critical issue. I can't hide controls NSButton in NSView. I used the following code</p>
  
  <pre><code>[btn setHidden:YES]
  </code></pre>
  
  <p>but this "btn" control is not becoming hidden. I used the following code to check whether the button is hidden</p>
  
  <pre><code>[btn isHidden]
  </code></pre>
  
  <p>but this return YES. Also I can't sent a value to NSTextfield while showing this view.</p>
  
  <p>Thanks in advance.</p>