FLIROneSDKDelegateManager

FLIROneSDKDelegateManager

我正在尝试快速实现以下方法:

从类FLIROneSDKImageReceiverDelegate中,该类在我的ViewController类中被子类化为:

class ViewController: UIViewController, FLIROneSDKImageReceiverDelegate,
    FLIROneSDKStreamManagerDelegate,
                        FLIROneSDKImageEditorDelegate{

请注意,我已经创建了桥接头等。

在FLIROneSDKImageReceiverDelegate头文件中:
- (void) FLIROneSDKDelegateManager:(FLIROneSDKDelegateManager *)delegateManager didReceiveBlendedMSXRGBA8888Image:(NSData *)msxImage imageSize:(CGSize)size;

我是否认为这是实现此功能的正确方法是错误的?
func FLIROneSDKDelegateManagerdidReceiveBlendedMSXRGBA8888ImageimageSize(delegateManager: FLIROneSDKDelegateManager!, msxImage: NSData, size: CGSize){

请注意,FLIROneSDKDelegateManager是一个类。

最佳答案

离开我的头顶,但是尝试这个:

func FLIROneSDKDelegateManager(delegateManager: FLIROneSDKDelegateManager!, didReceiveBlendedMSXRGBA8888Image msxImage: NSData!, imageSize size: CGSize) {

    // method imp

}

关于ios - 使用Swift从Objective C库中实现方法,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/37126025/

10-12 14:44