Result of call delete and updatedContact (cid: newContact:) is unused.
elivanK opened this issue · comments
Elivan K. commented
Having problems with calling the methods delete and updateContact in the viewcontroller, the last step in this article: after missing argument label 'cid': in call Fix it insert "cid", result of call delete and updatedContact (cid: newContact:) is unused. Any idea how to fix it?
Elivan K. commented
Found a solution: add @discardableResult before declare func delet and updateContact in the database class.