SpreadsheetView
SpreadsheetView copied to clipboard
貌似OC项目调用不了啊,请问怎么兼容?
- (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 *"
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