Learn Courses My Dashboard

TextField standard use

What is the accepted way to use a TextField for data entry and updates?

I want to create an address view where the addresses are stores in CoreData and can be presented to the user for updates. I have views that allow users to add new addresses, but am having trouble with updates.

You’ll have to first populate the textField when the data is first loaded, from CoreData

Then the user could change the data in the text fields, and lastly have some sort of save button

Where once tapped you’ll save the data in the textfields (and this would be the changed data from the user) and save it to CoreData