SpreadsheetView icon indicating copy to clipboard operation
SpreadsheetView copied to clipboard

貌似OC项目调用不了啊,请问怎么兼容?

Open xiaohuiCoding opened this issue 5 years ago • 1 comments

  • (SpreadsheetView *)spreadsheetView { if (!_spreadsheetView) { _spreadsheetView = [[SpreadsheetView alloc] initWithFrame:CGRectZero]; _spreadsheetView.delegate = self.presenter;(X) } return _spreadsheetView; }

叉那一行报错,报错提示:"Property 'delegate' not found on object of type 'SpreadsheetView *"

xiaohuiCoding avatar Aug 16 '19 10:08 xiaohuiCoding

SpreadsheetView cannot be used from Objective-C directly. You should wrap the APIs in Swift that is designed to be accessed by Objective-C. Then you can use the library. @xiaohuiCoding

kishikawakatsumi avatar Aug 16 '19 12:08 kishikawakatsumi