Top "Delegates" questions

Delegates can refer to several concepts.

self.delegate = self; what's wrong in doing that?

self.delegate = self; what's wrong in doing that? and what is the correct way of doing it? Thanks, Nir. Code: (…

iphone uitextfield delegates self
C# cross-thread call problem

I'm writing a form app in c# and I need to be able to change the contents of a Rich …

c# winforms delegates multithreading invokerequired
Configuring PNG on ImageMagick on a Linux Server

I have been trying to run the following script on ImageMagick on a Linux server convert resized.png -gravity Center …

linux delegates imagemagick png libpng
How to verify if a delegate responds to a selector?

I know I need to write: [delegate respondsToSelector:@selector(myMethod:)] But the compiler is complaining that respondsToSelector is not a …

iphone delegates selector
How to pass data between UIViewControllers with protocols/delegates

In the code below I have a ViewController("SenderViewController"), which passes a message to the main ViewController when a button …

ios swift delegates protocols pass-data
What's so great about Func<> delegate?

Sorry if this is basic but I was trying to pick up on .Net 3.5. Question: Is there anything great about …

delegates lambda expression func
Storing a method as a member variable of a class

I have this as one of my members of the class 'KeyEvent': private delegate void eventmethod(); And the constructor: public …

c# methods delegates member
Can I get the signature of a C# delegate by its type?

Is there a straightforward way using reflection to get at the parameter list for a delegate if you have its …

c# reflection delegates
How do I create a generic converter for units of measurement in C#?

I have been trying to learn a bit more about delegates and lambdas while working on a small cooking project …

c# .net generics delegates units-of-measurement
Cocos2D 2.1: "Delegate" deprecated in iOS 6. How do I set the delegate for this AVAudioSession?

Started a Cocos2D 2.1 template (with no physics engine) in Xcode 4.5, targeted for iOS 6 and iPad. In the CDAudioManager.m …

delegates cocos2d-iphone avaudiosession