In Xcode, making an iOS 5 app, I have one view in the StoryBoard and I have a method in its controller class - which if invoked (happens when return is pressed on keyboard) needs to move the app to another screen view.
However I am struggling to get my head around exactly how to create another view for my app. I know that if I go to MainStoryboard.storyboard I can drag a View Controller
object out onto it, but I don’t understand what this is actually making.
It seems to make a “View Controller Scene” in the Document Outline panel, but I don’t entirely understand how to set its controller class. Am I even vaguely close to the correct way of making new views for an app?
Also I can use a button to segue into this new view controller (by control + drag), but I’m not sure how I’d do this in code (such as within the method mentioned above).
Hopefully you’ll be able to make sense to me how to make views and move between them. Any help would be greatly appreciated :-)