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

yaniv92648

macrumors member
Original poster
Oct 26, 2009
96
0
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.
 
solved..

i had a multi-thread problem... so i just did the parse synchronious..
thanks anyway..
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.