want to save the text input data in TableViewController (keeping previous entries)

I have to enter first name ,last name , and mobile number which will be added using a button and then show it in the table view . and when the data is stored in table view the textfield should be blank for next entry.

*note - textfield and tableview are in same view controller