Greetings, This is a small problem, but I'm wondering whether it's a documentation issue or an SDK version issue. Using MonoTouch 5.2.10.
I'm trying to construct a UILongPressGestureRecognizer, and the documentation (from http://docs.go-mono.com) indicates that this class has a constructor which takes an Action<UILongPressGestureRecognizer> argument. However, when I try to pass a delegate to the constructor, the compiler complains that the delegate can't be cast to an NSCoder. Furthermore, MonoDevelop's intellisense doesn't offer the Action-based constructor (or for that matter, the NSAction-based constructor). All the sample code for UIGestureRecognizers seems to use the (NSObject, Selector) version of the constructor. I can certainly use that version of the constructor, but the Action-based one seems more C#-ish. Any reason why it would be unavailable in 5.2.10? Thanks, Eric Smith Tarkvara Design Inc. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
