Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions MyLog/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ class ViewController: UIViewController, UITableViewDataSource, UITableViewDelega
// Refresh the table view to indicate that it's deleted
self.fetchLog()

// Remove the item from the logItems array
logItems.removeAtIndex(indexPath.row);

// Tell the table view to animate out that row
logTableView.deleteRowsAtIndexPaths([indexPath], withRowAnimation: .Automatic)

Expand Down