In this recipe, we will learn how to configure an application's project properties using Xcode so that it is set up correctly to use a storyboard file.
To begin, perform the following simple steps:
In this recipe, we gained an understanding of what storyboards are, as well as how they differ from user interfaces created in the past, whereby a new view would need to be created for each XIB file for your application.
Whether you are creating applications for the iPad or iPhone, each view controller that gets created within your storyboard represents the contents of a single screen, comprised of the contents of more than one scene.
Each object contained within a view controller can be linked to another view controller that implements another scene.
In our final steps, we looked at how to configure our project properties so that it is set up to use the storyboard user interface file by our application.
You can also choose to manually add new Storyboard template to your project. This can be achieved by performing the following simple steps:
AppDelegate.m
file, as shown in the following code snippet:- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after // application launch. return YES; }
For more information about using storyboards in your applications, you can refer to the Apple Developer documentation, located at https://developer.apple.com/library/ios/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/InterfaceBuilder/InterfaceBuilder.