Reader Mode

This commit is contained in:
James Magahern
2021-02-15 22:34:05 -08:00
parent 6611e381a2
commit 2b5475d7f8
9 changed files with 2474 additions and 4 deletions

View File

@@ -23,6 +23,7 @@ NS_ASSUME_NONNULL_BEGIN
- (void)webProcess:(SBRProcessBundleBridge *)bridge didBlockScriptResourceFromOrigin:(NSString *)origin;
@end
NS_SWIFT_NAME(ProcessBundleBridge)
@interface SBRProcessBundleBridge : NSObject
@property (nonatomic, readonly) WKWebView *webView;
@@ -39,6 +40,8 @@ NS_ASSUME_NONNULL_BEGIN
- (void)policyDataSourceDidChange;
- (void)tearDown;
- (void)parseDocumentForReaderMode:(void(^)(NSString *))completionBlock NS_SWIFT_NAME(parseDocumentForReaderMode(completion:));
- (instancetype)init NS_UNAVAILABLE;
@end