title: How to Initialize my UITableView table to have a certain number of rows based on input from user and a Button
body: <p>I'm really new to Objective-C here so what I'm asking may be trivial to most of you but any guidance will help.
  Here's a picture of my storyboad.</p>
  
  <p><img src="https://i.stack.imgur.com/KuydM.png" alt="enter image description here"></p>
  
  <p>My current objective is to allow for the user to enter in the number of sets (NSInteger *numReps) and then press the "Log Reps" button and have the table initialize with numReps cells that look like the prototype cell.</p>
  
  <p>Now where I'm at a loss for the implementation.  I've never done this kind of thing before so I'm not exactly sure what the best way to go about it is.  I have thought of making a custom class for the UITableView table that would take info from the view after the Log Reps button is pushed.  I'm not entirely sure how this would need to be implemented.  Or can I simply add the table to the properties of the view controller and setup the table within the view controller?  That was my initial idea and seems ideal so that I would have everything in one place.</p>
  
  <p>Pleas advise.  I am new to all of this and come from a C++ background so I'm still learning a lot of the notation.</p>