From 7b02207537d35bfa1714bf8beafc921f717d100a Mon Sep 17 00:00:00 2001
From: 单军华
Date: Wed, 11 Jul 2018 10:47:42 +0800
Subject: [PATCH] 首次上传

---
 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.gif](http://upload-images.jianshu.io/upload_images/1271831-ecb291a43d1e5209.gif?imageMogr2/auto-orient/strip)![������������2.gif](http://upload-images.jianshu.io/upload_images/1271831-bd679dbe86ab7404.gif?imageMogr2/auto-orient/strip)![������������3.gif](http://upload-images.jianshu.io/upload_images/1271831-e094a23212160015.gif?imageMogr2/auto-orient/strip)
+
+![������������4.gif](http://upload-images.jianshu.io/upload_images/1271831-829166f3911adff6.gif?imageMogr2/auto-orient/strip)![������������5.gif](http://upload-images.jianshu.io/upload_images/1271831-3f2b8dc30bf013b1.gif?imageMogr2/auto-orient/strip)![������������6.gif](http://upload-images.jianshu.io/upload_images/1271831-6d37b6b5699e63a6.gif?imageMogr2/auto-orient/strip)
+
+![������������7.gif](http://upload-images.jianshu.io/upload_images/1271831-d4c09a66bd840fe4.gif?imageMogr2/auto-orient/strip)
+![������������8.gif](http://upload-images.jianshu.io/upload_images/1271831-c6b1d54295f4bcb1.gif?imageMogr2/auto-orient/strip)
+
+![tupian1](http://upload-images.jianshu.io/upload_images/1271831-7cd2608c83794f15.gif?imageMogr2/auto-orient/strip)
+![tupian2.gif](http://upload-images.jianshu.io/upload_images/1271831-6910abfdf29dc67f.gif?imageMogr2/auto-orient/strip)
+![tupian3.gif](http://upload-images.jianshu.io/upload_images/1271831-b62f7976f4051931.gif?imageMogr2/auto-orient/strip)
+![tupian4.gif](http://upload-images.jianshu.io/upload_images/1271831-bb2c00f01725c010.gif?imageMogr2/auto-orient/strip)
+
+----
+### ���������������������������������������������������
+
+-----
+
+
+### ������������������
+###[������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