2013-04-25 68 views

回答

2

從這裏開始:http://docs.xamarin.com/guides/ios/advanced_topics/binding_objective-c_libraries#Binding_Protocolshttp://docs.xamarin.com/guides/ios/advanced_topics/api_design#Models

根據什麼在GPUImageInput,我會與[Model]屬性綁定,然後讓GPUImageFilter從它繼承

[Model] 
//Look, no BaseTypeAttribute 
interface GPUImageInput { 
    //[Export] everything you need 
} 

[BaseType (typeof (XXXX))] 
interface GPUImageFilter : GPUImageInput { 
    //[Export again] 
} 

希望它可以幫助

相關問題