title: Iphone dev : how can I get a result from google currency converter?
body: <p>Sorry for my english ^^
  I would know how I can have a result from the google converter tool for currency, available on <a href="http://www.google.com/finance/converter?a=1&amp;from=USD&amp;to=GBP" rel="nofollow">http://www.google.com/finance/converter?a=1&amp;from=USD&amp;to=GBP</a> for example.</p>
  
  <p>I have already tried something like that :</p>
  
  <pre><code>    -(IBAction)getResponse:(id) sender{
  
       NSString *myURLString = @"http://www.google.com/finance/converter?a=1&amp;from=USD&amp;to=GBP";
  
       NSURL *myURL =  [NSURL URLWithString: myURLString];
  
       NSData *data = [NSData alloc];
  
       data=[NSData dataWithContentsOfURL:myURL];
  
  
       if(data!=nil &amp;&amp; data != ""){
  
            NSString *response = [[[NSString alloc] initWithData:data]]
  
            [label setText: response];
  
       }
  
       else [label setText:@"not working"];
  }
  </code></pre>
  
  <p>But when I click on my button, the label does not have a text (it is like it is empty).
  Am I doing something wrong ?
  Is it possible what I want to do ?
  Thank you very much for your futures answers !
  Olivier.</p>