title: Swift: Create static custom cell without dequeueReusableCellWithIdentifier
body: <p>Good morning all, i need to instantiate my custom cell named "CustomCell" in my custom tableViewController without dequeueReusableCellWithIdentifier because this function, due to some interaction that i think that is not necessary to describe for now, replace incorrectly my cells while i'm scrolling (IE the last cell swap with the first and so on).</p>
  
  <p>So my code is something like:</p>
  
  <pre><code>override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath)
  -&gt; CustomCell {
  
          // NEW VERSION HERE ---------
          var cell = CustomCell()
          cell.selectionStyle = UITableViewCellSelectionStyle.None
          cell.userInteractionEnabled = true
          cell.clipsToBounds = false
  
      // OLD VERSION HERE ---------
      //var cell = tableView.dequeueReusableCellWithIdentifier("MyCell", forIndexPath: indexPath) as! CustomCell
  
      // Configure my cells....
      return cell
  }
  </code></pre>
  
  <p>So is this version (with no dequeueReusableCellWithIdentifier) i've no more problems with cell's positioning but i can't click/tap or simply "use" my custom item into cell.</p>
  
  <p>For example i've a DatePicker like this:</p>
  
  <pre><code>var dynamicPicker = UIDatePicker(frame: CGRectMake(0, 0, self.frame.width, 192.0))
          dynamicPicker.date = date_
          dynamicPicker.addTarget(self, action: "pickerChanged:", forControlEvents: UIControlEvents.ValueChanged)
          view.addSubView(dynamicPicker)
  </code></pre>
  
  <p>and i can't even change the date, i can't tap or generally i can't interact with it. It seems like "userInteractionEnabled is false" but it isn't.</p>
  
  <p>Thank you all in advance, 
  Best regards Marco.</p>