[MUSIC]
Okay, so we've created a new blank project, and
we have added the face tracker library framework to our project as well.
So the next step is to add it into the user interface.
The framework itself provides a special view
controller called the face tracker view controller.
It doesn't really provide any instructions on subclassing it or
customizing it via code.
So it's kind of a black box.
So what we'll do is we'll have to kind of wrap it with another view controller so
that we can communicate with it and control it on the screen.
And that way we'll be able to instantiate this view controller and
can control it and customize what's going on with this view controller.
So, what we'll do is use the container view object in the interface builder and
use that to actually add our face tracker view controller as a sort
of sub-view controller of our main custom view controller.
So I'm just going to go in here, into the Object Library, and search for
container view.
So what this does is if I drag it into,
this is just my basic, blank View Controller that comes with the project, so
if I drag it in there and drop it.
What it does is it creates a sort of place holder container within my view
controller that has a link, or a segue to another view controller.
So this is special kind of segue called an embed segue.
And what it does is that when it loads this initial view controller,
it's also going to use this segue to load this other view controller and
embed it within the original view controller.
So this view controller here is just my sort of custom view control class.
It's automatically generated and the other view controller is going to be.