Skip to content

Commit

Permalink
readme changed
Browse files Browse the repository at this point in the history
  • Loading branch information
qtdc1229 committed Jan 20, 2016
1 parent 59ff33b commit d6896ba
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,19 @@ DCPickerRecord 是用来简化UIPickerView 管理以及使用的组件。
return ret;
}

-(void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component {
- (void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component {
//选择某一行后的行动
}

- (NSInteger)numberOfComponentsInPickerView:(UIPickerView *)pickerView {
NSInteger ret = 0;
// 总共的列数
return ret;
}

-(NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSInteger)component {
- (NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSInteger)component {
NSInteger ret = 0;
//某一列的行数
return ret;
}
```
Expand Down

0 comments on commit d6896ba

Please sign in to comment.