From 83b9d5c682b21d88133f24da0f94dd56bd79e687 Mon Sep 17 00:00:00 2001
From: 单军华
Date: Thu, 19 Jul 2018 13:38:55 +0800
Subject: [PATCH] change
---
screendisplay/Pods/SDCycleScrollView/SDCycleScrollView/Lib/SDCycleScrollView/PageControl/TADotView.m | 63 +++++++++++++++++++++++++++++++
1 files changed, 63 insertions(+), 0 deletions(-)
diff --git a/screendisplay/Pods/SDCycleScrollView/SDCycleScrollView/Lib/SDCycleScrollView/PageControl/TADotView.m b/screendisplay/Pods/SDCycleScrollView/SDCycleScrollView/Lib/SDCycleScrollView/PageControl/TADotView.m
new file mode 100755
index 0000000..092170a
--- /dev/null
+++ b/screendisplay/Pods/SDCycleScrollView/SDCycleScrollView/Lib/SDCycleScrollView/PageControl/TADotView.m
@@ -0,0 +1,63 @@
+//
+// TADotView.m
+// TAPageControl
+//
+// Created by Tanguy Aladenise on 2015-01-22.
+// Copyright (c) 2015 Tanguy Aladenise. All rights reserved.
+//
+
+#import "TADotView.h"
+
+@implementation TADotView
+
+
+- (instancetype)init
+{
+ self = [super init];
+ if (self) {
+ [self initialization];
+ }
+
+ return self;
+}
+
+
+- (id)initWithFrame:(CGRect)frame
+{
+ self = [super initWithFrame:frame];
+ if (self) {
+ [self initialization];
+ }
+ return self;
+}
+
+
+- (id)initWithCoder:(NSCoder *)aDecoder
+{
+ self = [super initWithCoder:aDecoder];
+ if (self) {
+ [self initialization];
+ }
+
+ return self;
+}
+
+- (void)initialization
+{
+ self.backgroundColor = [UIColor clearColor];
+ self.layer.cornerRadius = CGRectGetWidth(self.frame) / 2;
+ self.layer.borderColor = [UIColor whiteColor].CGColor;
+ self.layer.borderWidth = 2;
+}
+
+
+- (void)changeActivityState:(BOOL)active
+{
+ if (active) {
+ self.backgroundColor = [UIColor whiteColor];
+ } else {
+ self.backgroundColor = [UIColor clearColor];
+ }
+}
+
+@end
--
Gitblit v1.8.0