#import <UIKit/UIKit.h>
#import <TencentQianWebView/TencentQianWebView.h>

NS_ASSUME_NONNULL_BEGIN

/// 配置模式 Demo:
/// - 自带一个空 WKWebView
/// - viewDidLoad 调 ``TQWebViewConfigurator/applyToWebView:hostController:config:callbacks:`` 套用 SDK 全部能力
/// - 然后 `[webView loadRequest:]` 加载传入的 URL
@interface ConfiguratorDemoViewController : UIViewController

- (instancetype)initWithUrl:(NSString *)url callbacks:(TQSignCallbacks *)callbacks;

- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE;
- (instancetype)initWithNibName:(nullable NSString *)nibNameOrNil
                         bundle:(nullable NSBundle *)nibBundleOrNil NS_UNAVAILABLE;

@end

NS_ASSUME_NONNULL_END
