I have a custom UITableViewCell containing a UISlider and UILabel control that shows the current text value for the position of the slider. I want to update the shortcut while dragging the slider. Here are the basic elements.
cellForRowAtIndexPath: This procedure accepts data and updates the value of the slider and its associated label.
sliderValueChanged: This procedure reads the value of the slider that updates the data. Then it calls [table reloadData] to update the label.
Problem: Somehow reloadData interrupts the flow of updates. If I replace NSLog instead of reloadData, I get a good stream of updates showing the value of the slider. In an attempt to prevent the loop, I set it in tests so as not to set the value of the slider or call reloadData if the value was not different. This is not a fix.
Any help would be greatly appreciated!
source share