We now have a fully functional table view. We can add a book and we can display all books with their respective author’s name. In this chapter, we will learn how to delete a book record. From a user interface perspective, we will add the delete button to the table cell as a swipe gesture. So, when the user swipes left it will show the delete option and clicking the button will allow the user to delete the record.
7. Deleting a Table Record
Get App Development Using iOS iCloud: Incorporating CloudKit with Swift in Xcode now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.