Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

yaniv92648

macrumors member
Original poster
Hi,
I have a picker and i wanna stall it's event driven methods. the methods are:

Code:
- (NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSInteger)component;

- (NSInteger)numberOfComponentsInPickerView:(UIPickerView *)pickerView;

- (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view;

Thanks.
 
delay them

say i wanna delay them such that it will run after "viewDidLoad"(for example). is there a way to do that?
 
say i wanna delay them such that it will run after "viewDidLoad"(for example). is there a way to do that?
I don't know exactly what's in your viewDidLoad but I'm guessing you instantiate your UIPickerView. I would suggest doing that at some other point. Also, maybe explain why you want to delay them.
 
i had a multi-thread problem... so i just did the parse synchronious..
Parse? What parse? That's the first I've heard of that. It's not gonna be easy for us to help you if you leave out important details like that.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.