This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
John Todd wrote:Hey,
Are "Delegates" in iPhone jargon equivalent to listeners and callbacks in Java applications?
Thanks.
Delegates are helper objects that make it so that you don't have to subclass a class. For example the application object has a delegate that you can subclass so that you don't have to subclass the application object. Many other classes also can have delegates.
-- Kaydell
sickwell secran
Greenhorn
Joined: Jun 06, 2010
Posts: 1
posted
0
i think too
gourav kumar
Greenhorn
Joined: Jun 20, 2011
Posts: 10
posted
0
A delegate is a form of type-safe function pointer used by the .NET Framework. Delegates specify a method to call and optionally an object to call the method on. They are used, among other things, to implement callbacks and event listeners.
gourav kumar wrote:A delegate is a form of type-safe function pointer used by the .NET Framework. Delegates specify a method to call and optionally an object to call the method on. They are used, among other things, to implement callbacks and event listeners.
This is the iPhone forum, so nothing related to .NET