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
Nic Huang
Courses Plus Student 10,573 PointsDeep Dive : Storyboard Delegation
In this tutorial, Treehouse shows an good example of how to "add pun" to the tableView. But what if I want to edit the data in detailView, what approach / pattern should I take??
It seems that storyboard only uses "prepareForSegue" to send data to detail view. "didSelect" method can't send data anymore!!
I'm not sure if my logic is right and I want to hear better ideas to implement "edit data".
Thank You.
1 Answer
Amit Bijlani
Treehouse Guest TeacherYou would have to create another view controller to edit the data. This is covered in the Core Data course.
Nic Huang
Courses Plus Student 10,573 PointsNic Huang
Courses Plus Student 10,573 PointsThank you !!