In tableView:numberOfRowsInSection: return some huge amount and act accordingly in tableView:cellForRowAtIndexPath: returning the same cells again and again.
You can also have a limited number of lines, and at the end show another cell - containing a button for the user, which he can use to add new lines. When this button is clicked, you simply call [tableView reloadData] and provide more rows in the table data source.
Is it a coincidence that you use a table view for something that doesn't suit him? You might be better off using only UIScrollView and moving subviews as the user scrolls.
source share