title: UIWebView accepts normal NSStrings but not a NSString from an object
body: <p>So I have an object called 'theList', this contains a load of information about a student, one element is a url to an image of their work online. I am using a webview to display that image using the code: </p>
  
  <pre><code>    NSString *urlAddress2 = theList.imageofwork; 
      NSURL *url2 = [NSURL URLWithString:urlAddress2]; 
      NSURLRequest *requestObj2 = [NSURLRequest requestWithURL:url2]; 
      [workWeb loadRequest:requestObj2]; 
  </code></pre>
  
  <p>This doesnt work, but when I change 'theList.imageofwork' (which contains 'http://google.com' I should say, while I test this) to '@"http://google.com"' it works absolutely fine.</p>
  
  <p>Though I need this to be able to draw from 'theList' as the view is general and should change depending on the student that you select. So my question is what am I doing wrong or is there some other way that I should be going about displaying images?</p>
  
  <p>Also, within theList.h, imageofwork is declared as:</p>
  
  <pre><code>@property (nonatomic, retain) NSString *imageofwork;
  </code></pre>
  
  <p>and in theList.m I have:</p>
  
  <pre><code>@synthesize imageofwork;
  </code></pre>
  
  <p>I should also mention that I am relatively new to xcode and this is my first post here!</p>
  
  <p>Thanks in advance.</p>