title: Horizontal Stack View New Row - Swift
body: <p>Stack Views's in iOS are a beautiful thing but I have realized there is no native way to create new rows in horizontal stack views. Let's say I dynamically added subviews in a horiztonal stack view and would want to create a new row once I reach an increment of 3 subviews respectively. </p>
  
  <p><a href="https://i.stack.imgur.com/Th1xg.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/Th1xg.jpg" alt="subview array stacked horizontally and vertically"></a></p>
  
  <p><strong>Would I be required to create a vertical stack view then programmatically populate it with <em>individual</em> horizontal stack views at an interval of 3 increments?</strong> </p>
  
  <p>If so, would swift support dynamic variable creation of horzStackView1, horzStackView2, ... ?</p>
  
  <p>I'm starting to believe there is an easier way to implement this but I can't think of anything as I'm new to Swift 2.</p>