Skip to content

Commit

Permalink
Update v2.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
agiapp committed Sep 23, 2020
1 parent 5e7bff6 commit 3fa45ba
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BRPickerView.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Pod::Spec.new do |s|
# 框架的名称
s.name = "BRPickerView"
# 框架的版本号
s.version = "2.7.0"
s.version = "2.7.2"
# 框架的简单介绍
s.summary = "A custom picker view for iOS."
# 框架的详细描述(详细介绍,要比简介长)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ - (void)handlerTextFieldSelect:(UITextField *)textField {
yearLabel.textColor = [[UIColor lightGrayColor] colorWithAlphaComponent:0.2f];
yearLabel.font = [UIFont boldSystemFontOfSize:100.0f];
NSString *yearString = self.birthdaySelectDate ? @(self.birthdaySelectDate.br_year).stringValue : @([NSDate date].br_year).stringValue;
if (self.infoModel.birthdayStr && [self.infoModel.birthdayStr isEqualToString:@"自定义"]) {
if (self.infoModel.birthdayStr && [self.infoModel.birthdayStr containsString:@"自定义"]) {
yearString = @"";
}
yearLabel.text = yearString;
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ BRPickerView 封装的是iOS中常用的选择器组件,主要包括:日期

【说明】

- 当前最新版本为: `2.7.0`
- 当前最新版本为: `2.7.2`
- 如果不能找到最新版本,请先执行一下 `pod repo update` 更新本地仓库,待更新完成后;再执行 `pod search BRPickerView` 进行搜索,就会看到最新版本。

# 效果演示
Expand Down Expand Up @@ -303,6 +303,11 @@ stringPickerView.pickerStyle = customStyle;
# 更新记录
#### 2020-09-23(V2.7.2)
- 日期选择器新增添加自定义字符串属性:`firstRowContent` 和 `lastRowContent`
- 解决日期选择器设置最小日期时,存在的联动不正确的问题:[#184](https://github.com/91renb/BRPickerView/issues/184)
#### 2020-08-28(V2.7.0)
- 日期选择器添加 `nonSelectableDates` 属性:[#178](https://github.com/91renb/BRPickerView/issues/178)
Expand Down

0 comments on commit 3fa45ba

Please sign in to comment.