0

I am trying to do is data in NSMutableDictionary showing in UITableview but, I want to show in tableview when user press back button and come to previous view controller. I have one view controller on which tableview but whenever user push that view and go to next view there are some textfield, that textfield text value I am saving in one dictionary, Now I want to access that dictionary in previous view controller to show data in tableview.

I am already set the setter and getter for that dictionary. Then also I am getting null dictionary. Please help me, Thanks in advance.

Dilip Manek
  • 9,095
  • 5
  • 44
  • 56
newDev
  • 103
  • 3
  • 11

1 Answers1

0

There are two options for solving your problem.

  1. You can use a data container class which will hold all your shared data between view controllers. http://iphonedevsdk.com/forum/iphone-sdk-development/54859-sharing-data-between-view-controllers-other-objects.html

  2. By using delegates: Passing Data between View Controllers

Community
  • 1
  • 1
aks.knit1108
  • 1,305
  • 9
  • 20