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
shen jiayu
Courses Plus Student 1,063 PointsIOS Delegation Problem!!
i'm now studying the IOS development for now, but i'm not quite good at using delegations...... for example, i have two view controllers, controller1, controller2. Controller1 is a TableViewController with Dynamic cells, Controller2 is a normal ViewController, after i click on any cells of the controller1, it will segue to controller2 in which allows me to edit the information of that certain cell....but i couldn't update the controller1 after finished the editing on controller2...i heard a lot about using delegate to achieve this.....but i dont know how to do it....anyone could help me ?
1 Answer
Thomas Nilsen
14,957 Pointshttp://teamtreehouse.com/library/ios-foundations/storyboards/delegation
That should help! :)
shen jiayu
Courses Plus Student 1,063 Pointsshen jiayu
Courses Plus Student 1,063 Pointsthx for your answer