-
UIPickerView: This is the spinner that can be used for Selecting names, dates,
numbers, etc. Comes with a few methods:
§ Sets number of columns
o - (NSInteger)pickerView:(UIPickerView*)
pickerViewnumberOfRowsInComponent:(NSInteger)component;
§ Sets number of rows
o - (NSAttributedString
*)pickerView:(UIPickerView *)pickerView attributedTitleForRow:(NSInteger)row
forComponent:(NSInteger)component;
§ Sets attributes for titles in pickers
o - (void)pickerView:(UIPickerView
*)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component;
§
Where
properties or data is set in order to make API call or update attribute
No comments:
Post a Comment