From the course: Building an iOS Messages Application

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Create a user interface

Create a user interface

- [Lecturer] Let's create the layout for our application. So, the way that it's going to work is that our app is going to say the name of the application, centered on the screen just like Hello World here, when the app launches. Once the app has launched fully it's going to show a specific view controller for the compact view and a different view controller for the expanded view. So we're going to need a total of three view controllers here. So one is going to be that main view controller that we already have a class for, and the two other ones are just going to be regular UIViewControllers. So what I'm going to do is I'm going to copy this Messages View Controller by pressing Command + C and Command + V, I have that selected in the document outlines, so make sure you're showing the document outline, select the view controller, copy and paste. So now we have a second view controller and it's right below the first and I'm going to put it to the right of the first, I feel like that's an…

Contents