How to refresh tableview after deleting row in swift?
<p>I have three view controllers.</p>

<p>VC1 and VC3 are UITableViewControllers subclasses, VC2 is UIViewController subclass.</p>

<p>VC1 pass some data to VC2. VC2 save data using userdefaults to an array. Then VC2 pass this data using segue to VC3. VC3 shows data in a table view. </p>

<p>I've added a swipe gesture to delete data from table view at VC3. And it works good. But when I go back (VC3 -> VC2) and again come back to (VC2 -> VC3) deleted row still exists with data. But when i go to VC3 -> VC2 -> VC1 and back again VC1 -> VC2 -> VC3 I found that deleted row actually deleted. I want when VC3 > VC2 then VC2 > VC3 there will be no deleted data exist.</p>

<p>All view controllers are in UINavigationController stack. Code is written with Swift 2. </p>