




#import <Foundation/Foundation.h>
#import "ACMessage.h"


typedef void (^CompletionJSBlock)(id Obj);
/**
 工具类(不公开).
 */
@interface ACBridgeUtil : NSObject

+ (void)webView:(id)webView callJsWithMessage:(ACMessage *)msg;
+ (void)webView:(id)webView callJsWithString:(NSString *)jsStr;
+ (void)webView:(id)webView callJsWithString:(NSString *)jsStr completionHandler:(CompletionJSBlock)block;

+ (ACMessage *)convertStringToMessage:(NSString *)msgJsonStr;

@end
