From d6896ba84f4d7774b1155fb91ae807a4b639c6ae Mon Sep 17 00:00:00 2001 From: qtdc1229 Date: Wed, 20 Jan 2016 18:10:02 +0800 Subject: [PATCH] readme changed --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index edace01..19b03ef 100644 --- a/README.md +++ b/README.md @@ -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; } ```