NSScreencast Episode #25 Building a Custom Picker Component
Building a Custom Picker Component - NSScreencast
- XXModalPickerView (UIView)
- name class with prefix
- properties
- selectedIndex, selectedValue, values
- initWithValue, presentInView withBlock, presentInWindowWithBlock
- typedef for block argument
- setSelectedIndex, setSelectedIndex
- UIPickerView
- titleForRow
- numberOfRows
後半流した
たかがUIPickerなのにめんどくさい