How to implement multiple delegates in Monotouch?

In Objective-C, delegates like UITableViewControllerDelegate are protocols, so I can implement several in the same class.

In Monotouch, all iOS delegates appear as C # classes. This makes it impossible to implement two delegates in the same controller class, since C # (by right, IMO) allows only one inheritance.

Do delegate declarations exist as C # interfaces somewhere within Monotouch? (This would be the closest protocol to Objective-C)

What are my options if I need to implement multiple delegates in a class in Monotouch / C #?

+5
source share
1 answer

WeakDelegate , Export . . UITableViewSource .

, Xamarin Obj-C, , , .

+5

All Articles