title: Improving performance for view with too many UIButtons
body: <p>I've got a view controller that handles a lot of complex on-screen controls. One of these is a sliding menu that contains 9 <code>UIButton</code> controls drawn in a grid using constraints, like so:</p>
  
  <p><img src="https://i.stack.imgur.com/R3wHG.png" width="400"></p>
  
  <p>The load time of this view controller is nearly 3 seconds on device, and I've narrowed down the cause to the quantity of <code>UIButtons</code> inside this view. (I originally thought it was because it was being drawn off screen, but moving it to the center of the view controller didn't help).</p>
  
  <p>I'm trying to come up with a way to improve the performance of these buttons, but I'm not really sure which direction to go. Will loading them in a <code>UICollectionView</code> help? Or is there a way to lazy-load the buttons so that they're drawn after the view controller is presented?</p>