Hi,

Transition is a static method on UIView.

The signature is correct. According to
http://developer.apple.com/library/ios/#documentation/uikit/reference/uiview_class/uiview/uiview.htmlthe
completion parameter can be null.

Mikkel

On Tue, Jan 10, 2012 at 12:10, Emanuele Sabetta <fmuad...@gmail.com> wrote:

> I need to use the "transitionWithView" method. When I search in the Rosetta
> docs ( http://tirania.org/tmp/rosetta.html ) I find this:
>
> Selector: transitionFromView:toView:duration:options:completion:
> Method: void Transition (UIView fromView, UIView toView, double duration,
> UIViewAnimationOptions options, [NullAllowed] NSAction completion);
>
> Selector: transitionWithView:duration:options:animations:completion:
> Method: void Transition (UIView withView, double duration,
> UIViewAnimationOptions options, [NullAllowed] NSAction animation,
> [NullAllowed] NSAction completion);
>
> Is this documentation outdated? Because when I try such method in
> MonoDevelop I cannot find any overload for "Transition". It seems that the
> only implementation in MonoTouch is a binding to the "transitionFromView"
> selector. The signature is also wrong: it doesn't accept nulls and it
> requires an additional UICompletitionHandler parameter. Is there something
> I'm missing? Thanks.
>
> Emanuele Sabetta
>
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Method-transitionWithView-missing-from-Transition-overloads-tp4281723p4281723.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> MonoTouch@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
_______________________________________________
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to