0

我正在尝试为原生 iOS 库创建 C# 绑定,并且我使用了客观的 Sharpie 作为工具来执行此操作,但我被困在它已转换的地方

@property (nonatomic, weak) id<BTPaymentSelectionViewControllerDelegate, BTDropInControllerDelegate, BTAppSwitchDelegate, BTViewControllerPresentingDelegate> delegate;

 [Wrap("WeakDelegate")]
        NSObject<BTPaymentSelectionViewControllerDelegate, BTDropInControllerDelegate, BTAppSwitchDelegate, BTViewControllerPresentingDelegate> Delegate { get; set; }

但我收到以下错误,这是有道理的,因为我对 iOS 原生 Objective C 还很陌生,我不知道该怎么做,任何输入都会很有帮助

非泛型类型“NSObject”不能与类型参数一起使用

4

0 回答 0