Blog

UIPickerView add custom values (days of week) programmatically

Put in .h file, the delegate and datasource where it has been declared UIPickerView:

Later in .m file, declare UIPickerView, with delegate and datasource = self:

As the last thing, put the methods to manage UIPickerView:
numberOfComponentsInPickerView is number of columns
numberOfComponentsInPickerView is number of row in columns