title: How to load content view inside a tableview cell?
body: <p>I have created a table view as  </p>
  
  <pre><code> var tblView : UITableView = UITableView()
          tblView.frame = CGRectMake(0, 168, 320-50 , 450)
          tblView.separatorColor = UIColor.clearColor()
          tblView.scrollEnabled = false
          tblView.rowHeight = 39
          self.addSubview(tblView)
          tblView.delegate = self
          tblView.dataSource = self
          tblView.registerClass(UITableViewCell.self, forCellReuseIdentifier: "myCell")
  </code></pre>
  
  <p>Now i am trying to add custom view to the tableviewcell as </p>
  
  <pre><code> //MARK:  table view data source methods
      func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
  
       var cell : UITableViewCell = tableView.dequeueReusableCellWithIdentifier("myCell") as UITableViewCell
       var cellImgView:UIImageView = UIImageView()
       cellImgView.frame = CGRectMake(cell.contentView.frame.origin.x+10, cell.contentView.frame.size.height, 20, 20)
       let cellImage = UIImage(named: self.cellImgs[indexPath.row])
       cell.backgroundColor = UIColor(red: 0.000, green: 0.400, blue: 0.404, alpha: 1.00)
       cellImgView = UIImageView(image: cellImage)
       cell.contentView.addSubview(cellImgView)
       return cell
  } 
  </code></pre>
  
  <p>Only first image is at correct position and other are overlapped.Why is this happening?</p>