title: Swift iOS : Programmatically create a responsive menu using UIButton and a View and constraints
body: <p>In the <code>viewDidLoad()</code> method I would like to create 10 UIButtons, title them<br>
  <code>["one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten"]</code><br>
  and add them to a View in a way that they are always responsively placed using constraints.</p>
  
  <p>I would like to the <code>UIButton</code> to a <code>View</code> which is always on the top of the page but is responsive to User positioning of the device and the text that is placed into the <code>UIButton.title</code>.</p>
  
  <p>This is the same thing that Bootstrap CSS does using the CSS classes "table", "row", "col-md-2".</p>
  
  <p>Example of layout:
  <a href="https://i.stack.imgur.com/v1LCv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/v1LCv.png" alt="enter image description here"></a></p>
  
  <p>If the titles of the buttons change, the code should auto-magically adjust the positioning as such:</p>
  
  <p><a href="https://i.stack.imgur.com/Ez74j.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ez74j.png" alt="enter image description here"></a></p>