What is the best way to replicate the Protocol Delegate pattern using .Net? I have seen examples using events, as well as examples using the native Delegates. Which is the best one to use, and if possible, could anyone drop in an example that I could have a look at?
Answers
@FinHorsley,
Check out the documentation on this top and let me know if you have further questions!
Cheers! Had a look through the documentation although couldn't see anything with regards to creating my own protocols/delegates. (I know they are not part of .NET, so I'm guessing im asking what the alternative is). I'm trying to set up a protocol delegate pattern between a tableview and a cell so that when a user clicks a cell, the table controller can present an alert.
I have the same problem, the documentation only explains the C# side, and has no help for the Objective C side to connect bind to my own Objective C software. I need both sides, I can not find any help.
How to make the code below work?
// Objective C code
// C# code