lundi 23 mars 2015

How do I build a Core Data app in Swift, which contains a UITableView?

Sorry for the beginner question, I'm just getting started with programming.


I would like to build an app in swift that has core data. The app would launch into a Navigation Controller that contains a TableView, and the navigation bar would contain an edit button and an add button. The edit button allows you to rearrange or delete objects inside of your tableview. The add button brings you to a screen, in which you have a few TextFields, allowing you to input text. After inputing your text, pressing "Done" will save your new entry into your core data, and displays the entry on your tableview.


Here's where it gets tricky. By tapping on an item in the TableView, it takes you back to the new entry screen, but with the texts boxes already filled in with the items info, allowing you to change the info for the item you've already created.


How would I go about doing this? thanks!




Aucun commentaire:

Enregistrer un commentaire