I have 2 class. In first class I use didSelectrowAtIndexPath: method. In second class I have textfield. I create string in didSelectrowAtIndexPath: method. I want to set textfield text when I click tableview cell then open second view. But when I click row firstly run second class's viewdidload: before didselect method. And my string get nil value.
How can fix that problem ?
[EDİT]
Solve it. With this tutorial.