title: How to set size of UIScrollView frame programmatically?
body: <p>I am newbie so my question can be really obvious, but I didn't find any solution so far.</p>
  
  <p>I did in IB UIScrollView and connected it with File's Owner.
  I would like to set now the frame size of my UIScrollView (named ScrollView).</p>
  
  <pre><code>const CGFloat BoardWidth = 320;
  const CGFloat BoardHeight = 400;
  
  //I tried this way but 'Expression is assignable' - said Xcode
  ScrollView.frame.size.width = BoardWidth;
  ScrollView.frame.size.height = BoardWidth;
  </code></pre>
  
  <p>So how can I the easiest set own sizes of ScrollView frame?</p>