ckassar 0 Newbie Poster

i am working on a view controller that contains two picker views (FromCur ,ToCur). those picker views are filled by an xml parser . althoughthe NSLog in the Title for row function is not giving me a null answer , the picker views displays a question mark. i have been stuck on this for hours , please help me to find the bug .
my code is the following :

- (void)viewDidLoad
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    [super viewDidLoad];
    // [super viewDidLoad];
    currencies = [[NSMutableArray alloc] init];
    NSString *url=@"";
    NSXMLParser *parser;
    parser=[[NSXMLParser alloc] initWithContentsOfURL:[NSURL URLWithString:url]];
    if ([parser parse]==FALSE){
        UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Erreur" message:@"erreur de connection!" delegate:nil cancelButtonTitle:@"Cancel" otherButtonTitles:nil, nil];
        [alert show];
    self.FromCur=[[UIPickerView alloc]init];
    self.ToCur=[[UIPickerView alloc]init];

    self.FromCur.showsSelectionIndicator = YES;
    self.FromCur.opaque = NO;

    self.ToCur.showsSelectionIndicator = YES;
    self.ToCur.opaque = NO;
    [self.view addSubview: _FromCur];
    [self.view addSubview: _ToCur];

    [self.FromCur reloadAllComponents];
    [self.ToCur reloadAllComponents];


-(NSInteger)numberOfComponentsInPickerView:(UIPickerView *)Cur{
     NSLog(@"number of components ");
    return 1;


-(NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSInteger)component{
    NSLog(@"number of rows in component");
    return currencies.count;

-(NSString*)pickerView:(UIPickerView *)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component{
    curr=[currencies objectAtIndex:row];
    NSLog(@"le nom est : %@",curr.nom);
    return curr.nom;