Hi, Since the recent update, I am now faced with some extra warnings in my project, in particular the CS0108 warning. I have implemented a pageviewcontroller and implemented the delegate interfaces:
public partial class ArticlePageViewController : UIPageViewController, IUIPageViewControllerDataSource, IUIPageViewControllerDelegate
And I am implementing the delegate method like so:
public UIViewController GetPreviousViewController (UIPageViewController pageViewController, UIViewController referenceViewController)
{
}
BUT i am getting the warning:
ArticlePageViewController.cs(46,27): warning CS0108: ArticlePageViewController.GetPreviousViewController(MonoTouch.UIKit.UIPageViewController, MonoTouch.UIKit.UIViewController)' hides inherited member `MonoTouch.UIKit.UIPageViewController.GetPreviousViewController'. Use the new keyword if hiding was intended
/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll (Location of the symbol related to previous warning)
As far as I know, i am implementing the selector for the delegate method and I am not hiding or missing any parameters. So, How do i get rid of the warning as its quite annoying, also I noticed that the Assembly Browser now doesn't include the selectors above methods, is this on purpose? As I found it quite handy when I implemented weak delegates.
Thanks Andrew