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 trialIngo Ngoyama
4,882 Pointsdelegate variable API
Wouldn't it be better API to call the delegate variable in race delegator in stead. It seems just to bestow the power of delegation to objects as it needs to. This made it easier for me to understand. Seems to be in three parts
- Delegation= the delegation required code
- Delegator= the variable/ delegate assigner in the target class that you want to be delegated.
- Delegate= the The object that the Delegator has informed that its code is needed for a certain function