hi
I'm just putting the finishing touches to my first app for iphone and wanted to ask if it's good practice to call the same method twice, as this was the only way I found of updating my final values displayed in a UILabel.
example :
I have on one UIView a UIPickerView and segmentedControl, I have put the same method into each ones actions ( one in an IBAction segmentedValueChanged and one in Pickerview didSelectRow etc)
Now whenever either of the values changed my UILabel is updated.
Is there a better way to do this or am I OK with my approach?
Cheers
I'm just putting the finishing touches to my first app for iphone and wanted to ask if it's good practice to call the same method twice, as this was the only way I found of updating my final values displayed in a UILabel.
example :
I have on one UIView a UIPickerView and segmentedControl, I have put the same method into each ones actions ( one in an IBAction segmentedValueChanged and one in Pickerview didSelectRow etc)
Now whenever either of the values changed my UILabel is updated.
Is there a better way to do this or am I OK with my approach?
Cheers