Skip to content

Commit fc341ec

Browse files
committed
修改代码格式
1 parent 829d172 commit fc341ec

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

Source/WebView/TWebView.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,12 @@ typedef NS_ENUM(NSUInteger, TWebViewLoadStatus) {
6868
#pragma mark - TWebView Property
6969
@property (nonatomic, weak) id<TWebViewDelegate> _Nullable delegate;
7070
@property (nonatomic, weak) id<TWebViewDelegate> _Nullable commonDelegate;
71+
7172
@property (nonatomic, readonly, strong) UIView *contentWebView;
7273
@property (nonatomic, readonly, strong) UIWebView *uiWebView API_DEPRECATED("Use wkWebView instead, above iOS 8.0, return nil", ios(2.0, 8.0));
7374
@property (nonatomic, readonly, strong) WKWebView *wkWebView API_AVAILABLE(ios(8.0));
7475
@property (nonatomic, readonly, strong) UIScrollView *scrollView;
76+
7577
@property (nonatomic, readonly) BOOL canGoBack;
7678
@property (nonatomic, readonly) BOOL canGoForward;
7779
@property (nonatomic, readonly, getter=isLoading) BOOL loading;
@@ -85,9 +87,7 @@ typedef NS_ENUM(NSUInteger, TWebViewLoadStatus) {
8587
@property (nonatomic, assign) BOOL canSelectContent; // if set NO, Block most of the pages select content.
8688
@property (nonatomic, assign) BOOL canScrollChangeSize;
8789
@property (nonatomic, assign) BOOL blockTouchCallout; // Block ActionSheet & Long Press Menus
88-
// only uper ios 8.0
8990
@property (nonatomic, assign) BOOL canScrollBack API_AVAILABLE(ios(8.0));
90-
// only uper ios 9.0
9191
@property (nonatomic, assign) BOOL block3DTouch API_AVAILABLE(ios(9.0));
9292

9393
// Texts

Source/WebView/TWebView.m

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,17 @@
4949

5050
@interface TWebView()
5151

52+
@property (nonatomic, strong) WKProcessPool *processPool;
53+
54+
@property (nonatomic, assign) BOOL forceOverrideCookie;
55+
5256
@property (nonatomic, strong) TWKWebViewDelegate *wkWebViewDelegate;
5357
@property (nonatomic, strong) TUIWebViewDelegate *uiWebViewDelegate;
5458

59+
@property (nonatomic, strong) UIProgressView *progressView;
5560
@property (nonatomic, weak) NSLayoutConstraint *progressViewTopConstraint;
5661
@property (nonatomic, weak) NSLayoutConstraint *progressViewHeightConstraint;
5762

58-
@property (nonatomic, assign) BOOL forceOverrideCookie;
59-
@property (nonatomic, strong) UIProgressView *progressView;
60-
@property (nonatomic, strong) WKProcessPool *processPool;
61-
6263
@end
6364

6465
@implementation TWebView

0 commit comments

Comments
 (0)