Hello

I am binding an objective-c library using MonoTouch and I have the following 
objective c interface

@interface CustomSearchViewController : UITableViewController 
<UISearchDisplayDelegate, UISearchBarDelegate, CustomCacheDelegate, 
CustomSearchDelegate, CustomStatusBarStyle>
///.....

///...
@end

Where CustomCacheDelegate, CustomSearchDelegate, CustomStatusBarStyle Are 
defined interfaces within my ApiDefinition.cs file and UISearchDisplayDelegate 
and UISearchBarDelegate Are defined in MonoTouch

Tried the following 

[BaseType (typeof (UITableViewController))]
interface PSPDFSearchViewController : UISearchDisplayDelegate, 
UISearchBarDelegate, CustomCacheDelegate, CustomSearchDelegate, 
CustomStatusBarStyle
{

}

But it complains that 

Error CS0527: Type `MonoTouch.UIKit.UISearchDisplayDelegate' in interface list 
is not an interface (CS0527)
Error CS0527: Type `MonoTouch.UIKit.UISearchBarDelegate' in interface list is 
not an interface (CS0527)

If i remove UISearchDisplayDelegate and UISearchBarDelegate it does compile 
without issues 

any ideas on how to bind it?

Thanks in advance for any help

Alex
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to