title: How to enable copy paste in my NStableviewcell in my cocoa application programatically
body: <p>Below is my code for my NSTableview cell</p>
  <pre><code>class MyTableCellView: NSTableCellView {
      
      var aTextField: NSTextField?
  
      override init(frame frameRect: NSRect) {
          super.init(frame: frameRect)
          aTextField = NSTextField(frame: frameRect)
          aTextField?.drawsBackground = false
          aTextField?.isBordered = false
          self.addSubview(aTextField!)
      }
     
      
      required init?(coder: NSCoder) {
          fatalError(&quot;init(coder:) has not been implemented&quot;)
      }
      
  }
  </code></pre>
  <p>How can I enable copy and paste to this cell programatically?</p>