cannot convert value of type 'nsindexpath?' to expected argument type '[nsindexpath]'
<p>I want to delete a row from my tableView using deleteRowsAtIndexPaths, the codes I use to obtain the NSIndexPath of the specific row are as follow:</p>

<pre><code>    let pointInTable: CGPoint = sender.convertPoint(sender.bounds.origin, toView: self.tableView)

    let cellIndexPath = self.tableView.indexPathForRowAtPoint(pointInTable)
</code></pre>

<p>But then I got the error as suggested in the title when I put down cellIndexPath for deleteRowsAtIndexPaths. I get a sense that it might be about an array type of NSIndexPath but I'm not sure exactly how I should construct my codes. Please help thanks!</p>