How do I use BFTask with Swift 3?
<p>This segment of code worked perfectly in Swift 2</p>

<pre><code>override func prepare(for segue: UIStoryboardSegue?, sender: Any?) {
    if (segue!.identifier == "FeedDetailSeg") {
        let viewController:ItemDetail = segue!.destination as! ItemDetail

        viewController.DetailItem = collectionItems![self.selectedRow]

        if self.cognitoID == collectionItems![self.selectedRow].seller {
            viewController.owned = true
        }
        else {
            viewController.owned = false
        }

        //remove item from untapped
        //appDelegate.untapped.removeAtIndex(self.selectedRow)

        //collect view info
        self.dataStash(collectionItems![self.selectedRow].ID, itemCondition: 2).continueWithBlock({
            (task: BFTask!) -&gt; BFTask! in

            if (task.error != nil) {
                print(task.error!.description)
            } else {
                print("DynamoDB save succeeded")
            }

            return nil;
        })

    }
}
</code></pre>

<p>Now in Swift 3 I get an error on line </p>

<pre><code>//collect view info    
self.dataStash(collectionItems![self.selectedRow].ID, itemCondition: 2).continueWithBlock({
</code></pre>

<p>that says:
Cannot convert value of type '(BFTask&lt;_>!) -> BFTask!' to expected argument type '(BFTask?) -> Any?!'</p>

<p>This is using AWS to save an item to DynamoDB.</p>