小说绘上架版本

This commit is contained in:
xtfei2011
2021-02-07 11:24:08 +08:00
commit ee5c1c8b12
1762 changed files with 115892 additions and 0 deletions
@@ -0,0 +1,17 @@
//
// WXYZ_CompositeEmbeddedTableView.h
// WXReader
//
// Created by Andrew on 2019/6/13.
// Copyright © 2019 Andrew. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface WXYZ_CompositeEmbeddedTableView : UITableView
@end
NS_ASSUME_NONNULL_END
@@ -0,0 +1,36 @@
//
// WXYZ_CompositeEmbeddedTableView.m
// WXReader
//
// Created by Andrew on 2019/6/13.
// Copyright © 2019 Andrew. All rights reserved.
//
#import "WXYZ_CompositeEmbeddedTableView.h"
@implementation WXYZ_CompositeEmbeddedTableView
- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style
{
if (self = [super initWithFrame:frame style:style]) {
self.backgroundColor = [UIColor clearColor];
self.showsVerticalScrollIndicator = NO;
self.showsHorizontalScrollIndicator = NO;
self.sectionFooterHeight = 10;
self.separatorStyle = UITableViewCellSeparatorStyleNone;
if (@available(iOS 11.0, *)) {
self.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
} else {
// Fallback on earlier versions
}
}
return self;
}
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
{
return YES;
}
@end