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 trialMarwi M
1,411 PointsDelegation pattern
hello there , is Delegation pattern concepts explained in the IOS track ? actually , i tried to find out , but it seems not there.
in my humble opinion i think this is an essential concept in objective c , and it will be really helpful to add it to the track.
any reflections ..?
5 Answers
Amit Bijlani
Treehouse Guest TeacherMarwi M I have created a video explaining delegation. The video shows you how to create and use your own delegate. Here's the sample code from the video. Hope it helps you understand delegation a little better.
Delegation is just one of the many design patterns in iOS. Here are some blog posts I've written on the three major ones:
Thomas Nilsen
14,957 PointsAlso be sure to check out IOS Foundation (Deep Dive) here at Treehouse. Under the chapter called storyboards - one of the sub chapters is all about delegation :)
Marwi M
1,411 Pointsthanks..
Patrick Castle
Courses Plus Student 14,591 PointsGreat! I had got my head around delegation recently, but this still covered a couple of things I hadn't understood properly yet. I feel like I should go back through my current project and replace quite a bit of it using this pattern. :)
eirikvaa
18,015 PointsYou could check out this article that explains delegation in a good way.
Marwi M
1,411 Pointsthanks , for sharing .. i like the way they represent the idea .. and it was helpful ..
eirikvaa
18,015 PointsGreat!
Amir Moghadam
916 PointsGreat thanks
Marwi M
1,411 PointsMarwi M
1,411 Pointsthanks , and great work .. the best training website ..ever !