dkahgld

WYWeakScriptMessageDelegate.h 459B

12345678910111213141516171819
  1. //
  2. // WYWeakScriptMessageDelegate.h
  3. // IMYWebView
  4. //
  5. // Created by wangyangyang on 15/11/17.
  6. // Copyright © 2015年 IMY. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <WebKit/WKScriptMessageHandler.h>
  10. @interface WYWeakScriptMessageDelegate : NSObject <WKScriptMessageHandler>
  11. @property (nonatomic, weak) id<WKScriptMessageHandler> scriptDelegate;
  12. - (instancetype)initWithDelegate:(id<WKScriptMessageHandler>)scriptDelegate;
  13. @end