Top "Delegation" questions

A delegate is a type that references a method

Delegate OpenID to Google (NOT Google Apps)

Is it possible to use my personal website/blog to login to sites that use openid, and delegating to my …

openid google-oauth delegation
Javascript event delegation, handling parents of clicked elements?

http://jsfiddle.net/walkerneo/QqkkA/ I've seen many questions here either asking about or being answered with event delegation in …

javascript events event-handling dom-events delegation
In OOP, what is forwarding and how is it different from delegation?

Would someone please explain the difference between forwarding and delegation? They seem similar, but I haven't been able to find …

c++ oop class delegation forwarding
Difference between Decorator pattern and Delegation pattern

What is the difference between Decorator pattern and Delegation pattern (if there is any) ? I don't want to know just …

java design-patterns decorator delegation
Stop propagation with jquery delegate/live function not working

Heres the problem html: <ul id="update-list"> <li class="update" onclick="window.location('some_url')"> <…

javascript jquery javascript-events delegation
Difference between Strategy pattern and Delegation pattern

What is the difference between Strategy pattern and Delegation pattern (not delegates)?

design-patterns delegation strategy-pattern
Delphi: How delegate interface implementation to child object?

i have an object which delegates implementation of a particularly complex interface to a child object. This is exactly i …

delphi interface delegation delphi-5
Rails / Rspec - writing spec for delegate method (allow_nil option)

Given the code below: (1) How would you go about writing a spec to test the :allow_nil => false option? (2) …

delegation rspec-rails
What is Protocol Oriented Programming in Swift? What added value does it bring?

From Apple's own website: "At the heart of Swift's design are two incredibly powerful ideas: protocol-oriented programming and first class …

objective-c oop swift2 protocols delegation
Delegating constructors: an initializer for a delegating constructor must appear alone

I have a pair of constructors that work just fine in C++03 style. One of the constructors calls a superclass (…

c++ constructor c++11 superclass delegation