I'm a newbie in iOS.
I have a UITableView
and a DetailViewController
. When I click some elements (like name of user) in a UITableView
it will transfer to the DetailViewController
. Then I could code for that 2 ViewController
s.
But now I want to be able to click elemens in the DetailViewController
so that it will move to another DetailViewConTroller
and so on. Just like in the Facebook app where you click a username and it moves to that user's timeline. And in that user's timeline you can click on another username etc.
So do I have to write code for 3 (4, 5, 6...) ViewControllers
or is there a reliable way I can write code for 2 ViewController
s only?