Pass objects to another view controller in a tab application

Solutions Collect From Internet About “Pass objects to another view controller in a tab application”

This can be easily solved by using one of the three following solutions:

  1. The delegate pattern
  2. The observer pattern
  3. Blocks or closures

You should take some time and go through this tutorial:
http://www.raywenderlich.com/46988/ios-design-patterns

So basically…
1. vc1 has vc2 as delegate and calls the methods define in the delegate protocol.
2. vc1 posts a notification and vc2 listens for it
3. vc1 calls a block on vc2 (very close to the delegate pattern)

I’m simply going to point out that your user experience is broken in this example.
You’d be much better off having and ‘add’ button on the top right of your table view controller and presenting a new view controller modally to capture the ToDo values.