title: swift indexPath.row==0 works weirdly for UITableViewCell
body: <p>I am trying to make a table wherein first cell has a differernt layout than the rest. I want to put the image as background for first cell i.e it shd look something like this:</p>
  
  <p><img src="https://i.stack.imgur.com/Zv9Ab.png" alt="enter image description here"></p>
  
  <p>and here is the code for my implementation</p>
  
  <pre><code> func imageCellAtIndexPath(indexPath:NSIndexPath) -&gt; MainTableViewCell {
      let cell = self.tableView.dequeueReusableCellWithIdentifier(imageCellIdentifier) as MainTableViewCell
      let object = self.fetchedResultsController.objectAtIndexPath(indexPath) as NSManagedObject
  
      let eTitle:NSString = object.valueForKey("title")!.description
      let deTitle  = eTitle.stringByDecodingHTMLEntities()
  cell.artTitle.text = deTitle
  
  
      var full_url = object.valueForKey("thumbnailURL")!.description
      var url = NSURL(string: full_url)
      var image: UIImage?
      var request: NSURLRequest = NSURLRequest(URL: url!)
      NSURLConnection.sendAsynchronousRequest(request, queue: NSOperationQueue.mainQueue(), completionHandler: {(response: NSURLResponse!, data: NSData!, error: NSError!) -&gt; Void in
  
          image = UIImage(data: data)
          if((indexPath.row)==0)  {
          var imageView = UIImageView(frame: CGRectMake(10, 10, cell.frame.width - 10, cell.frame.height - 10))
          imageView.image = image
         cell.backgroundView = UIView()
        cell.backgroundView?.addSubview(imageView)
  
          }
          else{
          cell.thumb.image = image
          }
      })
  
      return cell
  }
  </code></pre>
  
  <p>bt the problem is.. when i scroll down and scroll up back again, the background image starts repeating and the thumbnails also get overlapped as shown:
  <img src="https://i.stack.imgur.com/Qi21Q.png" alt="enter image description here"></p>
  
  <p>If i scroll up and down again.. this is wht happens:
  <img src="https://i.stack.imgur.com/FODDn.png" alt="enter image description here"></p>
  
  <p>i might have done some silly mistake bt m not able to figure out what it is. pls help</p>