title: Swift : Change Tableview Width to 1/2 its size
body: <p>I followed this tutorial with no success cause its in objective-C 
  :</p>
  
  <p><a href="http://code.tutsplus.com/tutorials/implementing-container-containment-sliding-menu-controller--mobile-14562" rel="nofollow noreferrer">http://code.tutsplus.com/tutorials/implementing-container-containment-sliding-menu-controller--mobile-14562</a> </p>
  
  <p><a href="https://i.stack.imgur.com/hSOQm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hSOQm.png" alt="enter image description here"></a></p>
  
  <p>How to change tableview's size in SWRevealViewController Rt. Menu to 1/3 or 1/2 of its size?</p>
  
  <pre><code>tableView.frame = CGRectMake(50, 210, self.view.frame.size.width/2, self.view.frame.size.height)
  </code></pre>
  
  <p>another try</p>
  
  <pre><code>tableView.frame = CGRectMake(tableView.frame.origin.x, tableView.frame.origin.y, self.view.frame.size.width/2, self.view.frame.size.height)
  </code></pre>