Book Image

iOS Development with Xamarin Cookbook

By : Dimitrios Tavlikos (USD)
Book Image

iOS Development with Xamarin Cookbook

By: Dimitrios Tavlikos (USD)

Overview of this book

Table of Contents (22 chapters)
iOS Development with Xamarin Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

UI flow design with storyboards


Back when iOS 5 was released, Apple introduced storyboards. A storyboard is a new type of user interface file that accepts multiple view controllers, but it also holds information about how all these controllers relate to each other in the hierarchy of an application. Storyboards are very helpful when designing the screens of an application, as they are more efficient than loading different controllers from individual XIB files; they also keep a group of view controllers together in a single file.

Getting ready

Create a new iPhone Empty Project in Xamarin Studio and name it StoryboardApp.

Note

Xamarin Studio includes a number of project templates for storyboard applications. We will, however, use an empty iPhone project because it will help us to better comprehend how storyboards work.

How to do it...

Here are the steps to complete this recipe:

  1. Add two new C# classes (not view controllers) to the project and name them FirstController and SecondController.

  2. Derive both...