Steott,

Looks like you can ignore the whole Super thing and you apparently don't
need the [Export].

Jeff


On Fri, Aug 5, 2011 at 11:34 AM, Jeff Stedfast <[email protected]> wrote:

> Steott,
>
> Yikes! Looks like that wasn't bound. I've just added it so that it will be
> there in future versions.
>
> For now, you should be able to do something like this:
>
> static IntPtr selEndEditing = Selector.sel_registerName ("endEditing:");
>
> [Export ("endEditing:")]
> bool EndEditing (bool force)
> {
>     return MonoTouch.ObjCRuntime.Messaging.bool_objc_msgSend[Super]_bool
> (uiview.[Super]Handle, selEndEditing, force);
> }
>
> If 'uiview' is a subclass of UIView, I think you need to use the 'Super'
> version, otherwise use the non-Super version.
>
> (I'm still kinda new to MonoTouch, so hopefully I'm not giving you totally
> bad advice).
>
> Good luck!
>
> Jeff
>
>
> On Fri, Aug 5, 2011 at 6:13 AM, [email protected] <[email protected]> wrote:
>
>> Hi all,
>> does the UIView object in MonoTouch allows to execute endEditing? I can't
>> see a method with this name, am I missing something?
>>
>> --
>> View this message in context:
>> http://monotouch.2284126.n4.nabble.com/endEditing-on-UIView-is-available-in-MonoTouch-tp3720858p3720858.html
>> Sent from the MonoTouch mailing list archive at Nabble.com.
>> _______________________________________________
>> MonoTouch mailing list
>> [email protected]
>> http://lists.ximian.com/mailman/listinfo/monotouch
>>
>
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to