Please, help needed swift 3 code
I am building my TODo list app following the instruction in Sololearn but the problem it is not updated with Xcode 8 .I am stuck in adding new item code everything is ok except when I write items.append(item!) a message appears ( Cannot convert value of type 'item' to expected argument type 'itemTableController.Item' the code is : @IBAction func unwindToList(sender: UIStoryboardSegue) { let srcViewCon = sender.source as? ViewController let item = srcViewCon?.item if (srcViewCon != nil && item?.name != "") { //Add a new item let newIndexPath = NSIndexPath(row: items.count, section: 0) items.append(item!) tableView.insertRows(at: [newIndexPath as IndexPath], with: UITableViewRowAnimation.bottom) } }