[MonoTouch] NSNotificationCenter Warning
Dimitris Tavlikos
jimitav at gmail.com
Tue Oct 4 13:35:17 EDT 2011
Yes, check it again... The first one accepts "string", while the second one accepts "NSString" for the notification name.
Dimitris Tavlikos
Software Developer
Email: jimitav at gmail.com
Twitter: http://twitter.com/#!/dtavlikos
Blog: http://software.tavlikos.com
On 4 Oct 2011, at 8:33 PM, 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.
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
More information about the MonoTouch
mailing list