veader / V8HorizontalPickerView

Horizontal UIPickerView Control for iOS
zlib License
233 stars 44 forks source link

reloadData doesn't work though when changing data #7

Closed fusjh2o closed 11 years ago

fusjh2o commented 12 years ago

thanks for creating V8HorizontalPickerView. Using (UIView )horizontalPickerView:(V8HorizontalPickerView )picker viewForElementAtIndex:(NSInteger)index, 'reloadData" doesn't work thought when changing data.

Answer: we need change -(void)dealloc{}.and -(id) initWithFrame:(CGRect) frame. as follows:

pragma mark - Init/Dealloc

. more, thanks for veader.

iSeekF commented 11 years ago

i‘ve got the same issue~ reload doesn't work

veader commented 11 years ago

@fusjh2o and @iSeekF

Sorry for the terribly long delay on this. I haven't had time to work on the control much lately but will try to take a look at this soon.

veader commented 11 years ago

@iSeekF,

I have committed an additional branch tonight in hopes of finding what might be causing your problem. In all of the demo branches, I have a button that when tapped, changes the data and then calls reloadData.

Can you point me to some sample code of what you are doing and how it's not working? If not code, could you provide some additional background information? Would love to help sort this out.

veader commented 11 years ago

gonna go ahead and close this one. please let me know if you have some additional information that could help me understand what's going on.