Hi ANdrew,

The difference seems to be string vs NSString (I missed it the first time I
looked at it too).

I'm not sure why the old way was obsoleted, though. I could ask around if
you want...

Hope that helps,

Jeff

On Tue, Oct 4, 2011 at 1:33 PM, Andrew Young <[email protected]> wrote:

>  Why am I getting this warning?
>
> "Warning CS0618:
> `MonoTouch.Foundation.NSNotificationCenter.AddObserver(string,
> System.Action<MonoTouch.Foundation.NSNotification>)' is obsolete: `Use
> AddObserver(NSSstring, Action<NSNotification>) instead'"
>
> I don't see the difference between the two calls. The only difference is
> that the former is fully namespaced. The latter is not. Please tell me I'm
> wrong.
>
> _______________________________________________
> 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