TasksTableViewController *tasksTable = [[TasksTableViewController alloc]init];
This line creates an entirely new table view controller. You need to find the one that is currently on display and pass it the data instead. (presumably the table view controller gets tasks from user defaults when it reloads).
How you do that depends on the container you have. You could:
- Navigate through the container, nav controller, top view controller
- Use KVO in the table controller to observe user defaults
- Post a notification when you save new tasks and observe it in the table controller