title: Changing Popover view frame on fly
body: <p>When a popover is displaying how can I make its size variable depending on condition check? Is this functionality supported or not when working with a popover?</p>
  
  <p>Here is my sample for changing frame size:</p>
  
  <pre><code>CGFloat newHeight = 200;
  NSRect newFrame  = [parentView frame];
  newFrame.size.height = newHeight;
  
  NSView* childView = someView;
  
  [parentView setFrame:newFrame];
  [self.view addSubview:childView];
  </code></pre>