title: How can I expand width of UIView from left to right - Swift
body: <p>I have a <code>UIView</code> and I've added a UIView inside it as a subview. I'm hoping to expand the subview to fill a portion of the view, as a percentage, for example:</p>
  
  <p><code>subview.bounds.width = view.bound.width(num1/max)</code></p>
  
  <p>where <code>num1</code> changes every second until it reaches max.</p>