File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22 s . name = "ASWeekSelectorView"
3- s . version = "1.0.2 "
3+ s . version = "1.0.3 "
44 s . summary = "iOS calendar-inspired simple mini week view to select swipe through weeks and tap on days"
55 s . description = <<-DESC
66 A mini week view to select a day. You can swipe through weeks and tap on days to select them, somewhat similar to the iOS 7 calendar app.
Original file line number Diff line number Diff line change @@ -138,6 +138,21 @@ - (void)setFrame:(CGRect)frame
138138 self.isSettingFrame = NO ;
139139}
140140
141+ - (void )setSelectorBackgroundColor : (UIColor *)selectorBackgroundColor
142+ {
143+ _selectorBackgroundColor = selectorBackgroundColor;
144+
145+ self.selectionView .backgroundColor = selectorBackgroundColor;
146+ }
147+
148+ - (void )setTintColor : (UIColor *)tintColor
149+ {
150+ [super setTintColor: tintColor];
151+
152+ self.selectionView .circleColor = self.tintColor ;
153+ self.todayView .circleColor = self.tintColor ;
154+ }
155+
141156#pragma mark - UIScrollViewDelegate
142157
143158- (void )scrollViewWillBeginDragging : (UIScrollView *)scrollView
You can’t perform that action at this time.
0 commit comments