Skip to content

Commit

Permalink
0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
强进冬 authored and 强进冬 committed Feb 6, 2018
1 parent a167e8d commit 5f0897d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion QJDCalendar.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'QJDCalendar'
s.version = '0.0.4'
s.version = '0.0.5s'
s.summary = '一款简单的日历的视图控件,支持"周历"和"月历"切换'
s.homepage = 'https://github.com/coderqjd/QJDCalendar'
s.license = 'MIT'
Expand Down
4 changes: 2 additions & 2 deletions QJDCalendar/QJDMonthCalendarView/QJDMonthCalendarView.m
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ - (void)setupSubViews {
tipLabel.textAlignment = NSTextAlignmentCenter;
tipLabel.userInteractionEnabled = YES;
UIButton *previousBtn = [UIButton buttonWithType:UIButtonTypeCustom];
[previousBtn setImage:[UIImage imageNamed:@"QJDBundle.bundle/icon_prev.png"] forState:UIControlStateNormal];
[previousBtn setImage:[UIImage imageNamed:@"QJDCalendar.bundle/icon_prev.png"] forState:UIControlStateNormal];
[previousBtn addTarget:self action:@selector(previousMonth) forControlEvents:UIControlEventTouchUpInside];
[tipLabel addSubview:previousBtn];
self.previousBtn = previousBtn;
UIButton *nextBtn = [UIButton buttonWithType:UIButtonTypeCustom];
[nextBtn setImage:[UIImage imageNamed:@"QJDBundle.bundle/icon_next"] forState:UIControlStateNormal];
[nextBtn setImage:[UIImage imageNamed:@"QJDCalendar.bundle/icon_next"] forState:UIControlStateNormal];
[nextBtn addTarget:self action:@selector(nextMonth) forControlEvents:UIControlEventTouchUpInside];
[tipLabel addSubview:nextBtn];
self.nextBtn = nextBtn;
Expand Down
4 changes: 2 additions & 2 deletions QJDCalendar/QJDWeekCalendarView/QJDWeekCalendarView.m
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ - (void)setupSubviews {
tipLabel.textAlignment = NSTextAlignmentCenter;
tipLabel.userInteractionEnabled = YES;
UIButton *prevBtn = [UIButton buttonWithType:UIButtonTypeCustom];
[prevBtn setImage:[UIImage imageNamed:@"QJDBundle.bundle/icon_prev"] forState:UIControlStateNormal];
[prevBtn setImage:[UIImage imageNamed:@"QJDCalendar.bundle/icon_prev"] forState:UIControlStateNormal];
[prevBtn addTarget:self action:@selector(prevBtnClick) forControlEvents:UIControlEventTouchUpInside];
[tipLabel addSubview:prevBtn];
self.prevBtn = prevBtn;
UIButton *nextBtn = [UIButton buttonWithType:UIButtonTypeCustom];
[nextBtn setImage:[UIImage imageNamed:@"QJDBundle.bundle/icon_next"] forState:UIControlStateNormal];
[nextBtn setImage:[UIImage imageNamed:@"QJDCalendar.bundle/icon_next"] forState:UIControlStateNormal];
[nextBtn addTarget:self action:@selector(nextBtnClick) forControlEvents:UIControlEventTouchUpInside];
[tipLabel addSubview:nextBtn];
self.nextBtn = nextBtn;
Expand Down

0 comments on commit 5f0897d

Please sign in to comment.