title: Adding subviews to NSView
body: <p>I want to add subview to NSView dynamically. I set the coordinates of NSView as :</p>
  
  <pre><code>NSView *tmpView = [[NSView alloc]initWithFrame:self.view.frame];
  </code></pre>
  
  <p>I want to add dynamic number of imageViews to tmpView. My imageView is as:</p>
  
  <pre><code>NSImageView *tmpImageView = [[NSImageView alloc]initWithFrame:CGRectMake(xAxis, yAxis, 320, 180)];
  </code></pre>
  
  <p>Here, xAxis and yAxis are for positioning of imageViews dynamically.</p>
  
  <p>When i add image view to NSView as:</p>
  
  <pre><code>[tmpView addSubView:tmpImageView]
  </code></pre>
  
  <p>It adds imageView from bottom left corner but i want it to start from top left corner. Please help how can i add subViews accordingly to NSView.</p>
  
  <p>Thanks in advance</p>