Yes, check it again... The first one accepts "string", while the second one 
accepts "NSString" for the notification name.
Dimitris Tavlikos
Software Developer
Email: [email protected]
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
> [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