Thanks for your coding...its wonderful, but guys you have to follow the instructions:
- copy the two files to your project
- import the header file in your .h file that has the PickerView (i.e. #import "CircularPickerView.h")
- change every UIPickerView to CircularPickerView ( you could click 'Command f' to find all the UIPickerView words within your files .h and .m easier)
- Open your .xib file that has the Picker View
- select the Picker view by the mouse
- open the inspector and then choose the identity tab
- In the Class field change the UIPickerView to CircularPickerView
- now drag the CircularPickerView from the File's Owner to the PickerView (just check if its already linked then leave it)
Now it should be working fine ... but the problem is the circuling just goes down (one way circuling) and when the view started it looks like a normal Picker View not a Circular...SO I"ve added only one line with .m file (that has the Picker View) and it works just fantastic, the line is assigning a default rows
[cPikerView selectRow:0 inComponent:0 animated:NO];
PS. cPcikerView (in case if your CircularPickerView *cPickerView;)
Thanks
