From 83b9d5c682b21d88133f24da0f94dd56bd79e687 Mon Sep 17 00:00:00 2001
From: 单军华
Date: Thu, 19 Jul 2018 13:38:55 +0800
Subject: [PATCH] change
---
screendisplay/Pods/ZJScrollPageView/README.md | 254 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 254 insertions(+), 0 deletions(-)
diff --git a/screendisplay/Pods/ZJScrollPageView/README.md b/screendisplay/Pods/ZJScrollPageView/README.md
new file mode 100755
index 0000000..5b24530
--- /dev/null
+++ b/screendisplay/Pods/ZJScrollPageView/README.md
@@ -0,0 +1,254 @@
+# ZJScrollPageView
+####OC���������������������������������������, ������������, ������ ���������������������������������������, segmentVIew, scrollViewController
+
+###swift���������������[������](https://github.com/jasnig/ScrollPageView)
+
+####������,������������������������������������, ������������swift������������, ������������������������������������������������
+----
+##������������������
+
+
+
+
+
+
+
+
+
+
+
+
+----
+### ���������������������������������������������������
+
+-----
+
+
+### ������������������
+###[������1](http://www.jianshu.com/p/b84f4dd96d0c)
+
+## Requirements
+
+* iOS 7.0+
+
+
+## Installation
+
+* ###������������������������ZJScrollPageView������������������������������������������������#import "ZJScrollPageView.h"������������������
+
+* ������cocoaPods, ���������������Podfile������������������ `pod ZJScrollPageView`
+
+##usage
+
+####������������
+������������������������������������controller���������������
+* ������������controller���viewWillAppear()������������������������������������������title������������������������������������������
+* ������������ZJScrollPageView������������viewWillAppear������������������������������������
+* ������������������������������������ZJScrollPageViewChildVcDelegate������������������������������������
+
+
+----
+###������������
+* 2016/05/26 ���������������������ScrollPageViewDidShowThePageNotification, ������������������������������������������������������������, ��������������������������� ZJSegmentStyle.h���������������
+* 2016/05/27 ���������������style������ segmentViewBounces, ���������segmentView���������������
+* 2016/05/27 ���������������style������ scrollContentView, ���������contentView���������������
+* 2016/06/12 ���������������������, ��������� scrollPageParentViewController������, ������������������������������������������
+* 2016/06/29 ������������������������, ��������������������������������������������������� ������������������
+* 2016/06/30 ���������������������������������������ZJScrollPageViewChildVcDelegate, ���������������������������������������
+* 2016/08/21 ���������������������������, ���������������������������������������
+----
+
+
+
+
+####���������������style������
+```
+/** ������������������ ���������NO */
+@property (assign, nonatomic, getter=isShowCover) BOOL showCover;
+/** ��������������������� ���������NO*/
+@property (assign, nonatomic, getter=isShowLine) BOOL showLine;
+/** ������������������ ���������NO*/
+@property (assign, nonatomic, getter=isScaleTitle) BOOL scaleTitle;
+/** ������������������ ���������YES ���������NO���������������������������������������, ��������������������� ������������segment������������ */
+@property (assign, nonatomic, getter=isScrollTitle) BOOL scrollTitle;
+/** segmentView��������������� ���������NO*/
+@property (assign, nonatomic, getter=isSegmentViewBounces) BOOL segmentViewBounces;
+/** ������������������ ���������NO*/
+@property (assign, nonatomic, getter=isGradualChangeTitleColor) BOOL gradualChangeTitleColor;
+/** ��������������������������� ���������NO*/
+@property (assign, nonatomic, getter=isShowExtraButton) BOOL showExtraButton;
+/** ������view��������������� ���������YES*/
+@property (assign, nonatomic, getter=isScrollContentView) BOOL scrollContentView;
+/** ��������������������������������� ���������nil*/
+@property (strong, nonatomic) NSString *extraBtnBackgroundImageName;
+/** ������������������ ���������2 */
+@property (assign, nonatomic) CGFloat scrollLineHeight;
+/** ������������������ */
+@property (strong, nonatomic) UIColor *scrollLineColor;
+/** ��������������� */
+@property (strong, nonatomic) UIColor *coverBackgroundColor;
+/** ��������������� ���������14*/
+@property (assign, nonatomic) CGFloat coverCornerRadius;
+/** ��������������� ���������28*/
+@property (assign, nonatomic) CGFloat coverHeight;
+/** ��������������������� ���������15.0 */
+@property (assign, nonatomic) CGFloat titleMargin;
+/** ��������������� ���������14 */
+@property (strong, nonatomic) UIFont *titleFont;
+/** ������������������, ������1.3 */
+@property (assign, nonatomic) CGFloat titleBigScale;
+/** ��������������������������� */
+@property (strong, nonatomic) UIColor *normalTitleColor;
+/** ��������������������������� */
+@property (strong, nonatomic) UIColor *selectedTitleColor;
+/** segmentVIew���������, ������������������������ZJScrollPageVIew��������������������� */
+@property (assign, nonatomic) CGFloat segmentHeight;
+```
+
+####���. ������ScrollPageView , ������������������������������,������������������segmentView���ContentView���������������,���������������������������
+
+ - (void)viewDidLoad {
+ [super viewDidLoad];
+ self.title = @"������������";
+
+ //���������������, ���������������������������������������������������
+ self.automaticallyAdjustsScrollViewInsets = NO;
+
+ ZJSegmentStyle *style = [[ZJSegmentStyle alloc] init];
+ //������������
+ style.showCover = YES;
+ style.segmentViewBounces = NO;
+ // ������������
+ style.gradualChangeTitleColor = YES;
+ // ���������������������
+ style.showExtraButton = YES;
+ // ���������������������������������
+ style.extraBtnBackgroundImageName = @"extraBtnBackgroundImage";
+
+ self.titles = @[@"������������",
+ @"������������",
+ @"������",
+ @"������������",
+ @"������",
+ @"������������",
+ @"������������",
+ @"������",
+ @"���������",
+ @"������������",
+ @"������������",
+ @"������",
+ ];
+ // ���������
+ CGRect scrollPageViewFrame = CGRectMake(0, 64.0, self.view.bounds.size.width, self.view.bounds.size.height - 64.0);
+ ZJScrollPageView *scrollPageView = [[ZJScrollPageView alloc] initWithFrame:scrollPageViewFrame segmentStyle:style titles:_titles parentViewController:self delegate:self];
+ self.scrollPageView = scrollPageView;
+ // ������������������������block
+ __weak typeof(self) weakSelf = self;
+
+
+ self.scrollPageView.extraBtnOnClick = ^(UIButton *extraBtn){
+ weakSelf.title = @"���������extraBtn";
+ NSLog(@"���������extraBtn");
+
+ };
+ [self.view addSubview:self.scrollPageView];
+}
+
+
+������������
+
+ - (NSInteger)numberOfChildViewControllers {
+ return self.titles.count;// ���������������������, ������������titles.count
+ }
+
+ - (UIViewController *)childViewController:(UIViewController *)reuseViewController forIndex:(NSInteger)index {
+
+ UIViewController *childVc = reuseViewController;
+ // ������������������������������������������nil, ���������nil���������������������
+ // ������������nil ���������
+ if (childVc == nil) {
+ childVc = [UIViewController new];
+
+ if (index%2 == 0) {
+ childVc.view.backgroundColor = [UIColor redColor];
+ } else {
+ childVc.view.backgroundColor = [UIColor cyanColor];
+
+ }
+
+ }
+ return childVc;
+ }
+####��� ������ ZJScrollSegmentView ��� ZJContentView, ���������������������������, ���������������������������segmentView���contentView,���������������������������frame, ���������������
+
+
+ - (void)viewDidLoad {
+ [super viewDidLoad];
+ self.title = @"������������";
+
+ //���������������, ���������������������������������������������������
+ self.automaticallyAdjustsScrollViewInsets = NO;
+ self.childVcs = [self setupChildVc];
+ // ���������
+ [self setupSegmentView];
+ [self setupContentView];
+
+ }
+
+
+###setupSegmentView
+ // ������: ���������������������������!!
+ __weak typeof(self) weakSelf = self;
+ ZJScrollSegmentView *segment = [[ZJScrollSegmentView alloc] initWithFrame:CGRectMake(0, 64.0, 160.0, 28.0) segmentStyle:style titles:titles titleDidClick:^(UILabel *label, NSInteger index) {
+
+ [weakSelf.contentView setContentOffSet:CGPointMake(weakSelf.contentView.bounds.size.width * index, 0.0) animated:YES];
+
+ }];
+ // ������������������������
+ segment.layer.cornerRadius = 14.0;
+ segment.backgroundColor = [UIColor redColor];
+ // ���������������������������������������������
+ // segment.backgroundImage = [UIImage imageNamed:@"extraBtnBackgroundImage"];
+
+ self.segmentView = segment;
+ self.navigationItem.titleView = self.segmentView;
+
+
+###setupContentView
+
+ ZJContentView *content = [[ZJContentView alloc] initWithFrame:CGRectMake(0.0, 64.0, self.view.bounds.size.width, self.view.bounds.size.height - 64.0) segmentView:self.segmentView parentViewController:self delegate:self];
+ self.contentView = content;
+ [self.view addSubview:self.contentView];
+ ������������
+
+ - (NSInteger)numberOfChildViewControllers {
+ return self.titles.count;
+ }
+
+ - (UIViewController *)childViewController:(UIViewController *)reuseViewController forIndex:(NSInteger)index {
+ UIViewController *childVc = reuseViewController;
+ if (childVc == nil) {
+ childVc = self.childVcs[index];
+
+ if (index%2 == 0) {
+ childVc.view.backgroundColor = [UIColor redColor];
+ } else {
+ childVc.view.backgroundColor = [UIColor cyanColor];
+
+ }
+
+ }
+ return childVc;
+ }
+
+
+
+###���������������, ���������issue������P-R
+
+
+####���������������������,���������������star
+####���������������������������������: ���������������QQ: 854136959
+
+## License
+
+ScrollPageView is released under the MIT license. See LICENSE for details.
\ No newline at end of file
--
Gitblit v1.8.0