Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Edit button Like on "Contacts" app

I am trying to build an app, similar to the "contacts" app where there is a table view, a user creates a new field ("Row") and then can click on set row to take them to the "detail" page. The problem I am running into is in the "Detail" page I want the user to be able to "Edit" the information and then save to reflect the changes in all view controllers. Much like in "contacts" where you hit edit to edit name, phone, etc... I cant seem to find the best way to get that setup.

The view controllers I have are: Table View, "Add New Person" view where they add the information, "Detail" view that displays the information.

Do I need to have a segue to go from "detail" to "add new person"? I tried, but none of the data from "Detail" transferred over. It was all empty. Any help would be greatly appreciated.