[MonoTouch] NSNotificationCenter Warning
Andrew Young
andrewdyoung at gmail.com
Tue Oct 4 13:36:32 EDT 2011
Why is this case an exception?
On Tuesday, October 4, 2011 at 10:36, Andrew Young wrote:
> I thought MonoTouch automatically converts strings to NSStrings for you.
>
> On Tuesday, October 4, 2011 at 10:33, Andrew Young 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111004/c3dafe86/attachment-0001.html
More information about the MonoTouch
mailing list