For a 1view/scene to 2view/scene app, what application should I choose in Xcode?
- by Tony Xu
The question may be simple to some others, but I have been struggling with this for a while. The app I want would be like this: first scene/view with two big buttons (no toolbar item), click each one to get into two new scenes. So totally three scenes. In Xcode, what application should I choose? And in storyboard how/should I drag/draw? Thanks.
Update:
thanks for the link, the big-number-user.
I actually read that tutorial before I asked.
A little update on what I got so far:
1, I selected "single view", so there's view controller 1 (VC1) in the storyboard.
2, dragged a navigation controller (NC), and move the initial view arrow pointing to NC
3, control-drag to link NC and VC1, selected "relationship segue root view controller" when some small dialog popup. IS THIS CORRECT?
4, created two additional VC, VC3 and VC4, control-drag link each to NC. selected "push", IS THIS CORRECT?
5, in VC1, I added two buttons, showVC3 and showVC4. NOW I DON'T KNOW how to add IBAction to button showVC3 and showVC4. I tried to control-drag it to ViewController.m file @interface and @end section, but failed.
What should I do next?