Top "Delegates" questions

Delegates can refer to several concepts.

Simple Delegate (delegate) vs. Multicast delegates

I have gone through many articles but I am still not clear about the difference between the normal delegates that …

c# .net delegates multicastdelegate
Get the current view controller from the app delegate

i am new to ios. I need to know the current view controller from app delegate.. i have no idea …

ios objective-c delegates appdelegate
Cannot convert from 'method group' to 'System.Action<object>' error

I have created the following function: public void DelegatedCall(Action<Object> delegatedMethod) And defined the following method public …

c# generics delegates method-group
Performance of calling delegates vs methods

Following this question - Pass Method as Parameter using C# and some of my personal experience I'd like to know …

c# .net performance delegates
How to correctly unregister an event handler

In a code review, I stumbled over this (simplified) code fragment to unregister an event handler: Fire -= new MyDelegate(…

c# .net events delegates
Difference between protocol and delegates?

What is the difference between a protocol and a delegate? and, How can we declare variables in a protocol class?

ios objective-c delegates protocols
C# delegate v.s. EventHandler

I want to send an alert message to any subscribers when a trap occurred. The code I created works fine …

c# delegates event-handling observer-pattern
Create empty C# event handlers automatically

It is not possible to fire an event in C# that has no handlers attached to it. So before each …

c# events delegates clr
What's the method signature for passing an async delegate?

I've recently moved back to C# from being in Objective-C land, and the async/await keywords in C# 5 look cool. …

c# asynchronous delegates
How does a delegate work in objective-C?

Does anyone know where I can find a good explanation/tutorial of what and how an application delegate works in …

ios objective-c delegates