phizclip-uniapp-demo/finclip-uniapp-test/nativeplugins/MopSdk/ios/FinApplet.framework/Headers/FATWeakScriptMessageDelegate.h

21 lines
516 B
Objective-C
Executable File
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

//
// Copyright (c) 2017, finogeeks.com
// All rights reserved.
//
//
//
#import <Foundation/Foundation.h>
#import <WebKit/WebKit.h>
/**
这个类的功能是封装WKScriptMessageHandler协议目的是避免WKUserContentController.add的强引用而不释放产生循环引用
*/
@interface FATWeakScriptMessageDelegate : NSObject <WKScriptMessageHandler>
@property (nonatomic, weak) id<WKScriptMessageHandler> scriptDelegate;
- (instancetype)initWithDelegate:(id<WKScriptMessageHandler>)delegate;
@end