iosswifttableviewseguenavigationcontroller

Best way to reload vc table view backing from another vc


I'm trying to reload table view in Calculation controller, pressing back navigation button on Setup controller (red arrow on screenshot).

Which is the best way to do it? Thanks !


Solution

  • In a navigation controller its's pretty easy. In Swift the most efficient way is a callback closure, it avoids the overhead of protocol/delegate.