Crash when using URL for swapping images
<pre><code>@implementation SlideShowViewController
- (id)init
{
    NSString *temp = [NSString alloc];
    [temp stringwithString:@"http://www.inetwallpaper.com/homescreenhero/sunsets/wall009.jpg"];
    temp=[(NSString *)CFURLCreateStringByAddingPercentEscapes(
                                                              nil,
                                                              (CFStringRef)temp,                     
                                                              NULL,
                                                              NULL,
                                                              kCFStringEncodingUTF8)
          autorelease];
    NSData *dato = [NSData alloc];
    dato=[NSData dataWithContentsOfURL:[NSURL URLWithString:temp]];
    if (self = [super initWithNibName:nil bundle:nil])
    {
        NSArray * images = [NSArray arrayWithObjects:[UIImage imageWithData:dato],[UIImage imageWithData:dato],  [UIImage imageWithData:dato], [UIImage imageWithData:dato], [UIImage imageWithData:dato], nil];

        self.view = [[[SlideShowView alloc] initWithImages:images] autorelease];
    }

    return self;
}
</code></pre>

<p>I used the following code to load images from the server and view it as that of a photo album </p>

<p>But when the code is run it gets crashed 
the error message in console is as follows</p>

<blockquote>
  <p>2011-06-24 23:54:01.837
  SlideShow[13654:207] <strong>*
  -[NSPlaceholderString stringwithString:]: unrecognized
  selector sent to instance 0x49117e0
  2011-06-24 23:54:01.839
  SlideShow[13654:207] <em></strong> Terminating
  app due to uncaught exception
  'NSInvalidArgumentException', reason:
  '</em>** -[NSPlaceholderString
  stringwithString:]: unrecognized
  selector sent to instance 0x49117e0'
  2011-06-24 23:54:01.840
  SlideShow[13654:207] Stack: (
      42178640,
      43336492,
      42187355,
      41649782,
      41646578,
      12567,
      7791,
      2906510,
      2910543,
      2936126,
      2917623,
      2949592,
      51171708,
      41457820,
      41453736,
      2908705 ) terminate called after throwing an instance of 'NSException'</p>
</blockquote>

<p>it works if the URLS are replaced by the images 
could any one help  me
I'm a beginner so its hard for me to find it out</p>

<p>thanks</p>
