How to use inputview through UITableViewRowAction swift
<p>I tried implementing <a href="https://stackoverflow.com/questions/25780599/add-datepicker-in-uiactionsheet-using-swift">this</a> guide and impelemented it inside:</p>

<pre><code>let doneItem = UITableViewRowAction(style: .Normal, title: "  Done  ") { (action, indexPath) -&gt; Void in }
</code></pre>

<p>but assigning the 'inputView' is where I'm stuck at.</p>

<p>I tried assigning it to the tableView's input view where in the documentation, it says:</p>

<p><em>"The value of this read-only property is nil. A responder object that requires a custom view to gather input from the user should redeclare this property as read-write and use it to manage its custom input view."</em></p>

<p>So I tried to redeclare the inputView for the tableView by following <a href="https://robots.thoughtbot.com/input-accessorizing-uiviewcontroller" rel="nofollow noreferrer">this</a> guide but I don't seem to get anywhere.</p>

<p>Help.</p>