So I coming again in this list and I'm going to really quickly recap everything I've done in this section.
You don't really have to do anything in this class and you don't have to follow me along and do things
or code the stuff you probably just funny and or sit back and relax as I reach up everything and somehow
refresh your memory as to you know things that we have done.
So Scott.
Scott and I'm going to start a new project I'm going to call it Camp or let's call it yet again because
I know I have to remove it later on temporary jobs section 3 a.m. 3 cups of Shanthi.
We're going to have a look at the things that we did primarily in the story both so in a storyboard
are we covered these and those we made them view controllers and we learned that every view contour
of would need its own class on this the fault you can tourists connected to something called The View
Controller.
And if I want to add a new you or I view controllers of I have to have the command and that is fine
you file and then we assign them to the identity inspector and then we can do things on them the way
we have been doing.
We learned that this little guy in here means that this view quencher is the initial view controller
and then we could just change it to another one to be our initial view controller from there on we went
into talking about segues.
We tried it with control from one view and one other one.
We gave our segues identifiers so we know what they do and what they mean.
And then we talked about them in here we talked about labels and buttons.
You know we talked about how we could use the Baden's and how we could assign functions to them.
For instance this father that I have in here is called the pink one.
I'm going to go to you contour and that H in here I'm going to say IAB action.
Let's say Pean function.
And then we could either do this using the assistant at it's all or we could just of type the code then
yeah I know a storyboard.
If we go on select all of you can Torah's outlet in the connections we will end up seeing that action
Pean function has been received.
And if I derived from it over to here I can do something like a touch up inside which is a default behavior
of all the Baden's.
Now what that means is it means pink function will be called every time we stop on this button.
Of course this op with currently in this very estate would crash simply because I know that declaration
of a function but this function doesn't have any implementation or any body.
So we have to copy that code to my dad and Matt and he my dad and I have to actually write the body
of it even if it means nothing.
It has to exist.
Otherwise our OP is going to crash.
So that was one thing.
The other thing that we discussed was this If you go ahead into your viewpoint or that edge on your
have a property for your button let's say we non autonomy we will discuss this in for details in the
future.
These are memory management models of the property.
Don't worry about if you don't know them right now you just need to follow these steps.
Like I've said several times throughout this course there are some topics that I can't just bring them
up at the beginning simply because it makes the makes that lesson or that class quite overwhelming.
So some things I expect you to just follow along with me and then as the time passes I will come back
to them and I will explain what they are.
So here I have an IB outlet.
It's a you.
I buy them.
That is called my body.
So remember that was defined declaring a function for a boy and this was the an outlet for a body.
And so I'm going to go to storyboard in here.
I'm going to select my outlet and now I have received an outlet called my button which I can derive
from it to the button.
And then they get connected to each other.
Now if you have buttons like this you could go to a place such as your view would you it.
Not necessarily but you could say my body in the target and I could add an action to them and that action
doesn't have to be an IP action.
So that could be ovoid let's call it my action.
And that I would say at Target within itself and the action is selected or is called My action.
And for the control event let's say touch of inside which is that one not outside touch up inside for
instance.
So that's about that.
Now this then every time that is being tapped on it triggers this function the next thing we talked
about in this lesson that we quickly have a look was segmented controls which are very simple.
They have multiple different Baden's only one of them can be active at any given time.
And then we use something such as my segmented control dart selected segment index to know which one
is the current the selected one.
So for instance here the Kaante selected one is segment zero.
If I change that to one we will see segment 1 and the selected disappear.
So that's how we understand which one is currently selected.
I could reach back and that's what happened.
And then from there on we moved on to talking about textfield Fisher again very simple text takes we
could change their format and they look by changing their board style as well as their backgrounds and
what not they could change the keyboard type.
And there was some other stuff here that will talk at some point like the capitalization or auto correction
or a smart dashes or insets or whatnot.
And then we also learned that there is something called If I had a text with you I text fields that
if I had something called my text I felt the I could use something such as my text failed Dadda resign
the first responder which would essentially get rid of the keyboard for that text.
So remember that as well.
Then in here we talked about the sliders on switch so I'm going to bring both of them in one go slider
and a switch and that's that.
But remember the sliders they had minimum and maximum values and they were floating numbers and liquidy
feel wanted used things such as round or a seal or floor or just casting them into an integer to get
the integer value of them.
But the default behavior of them was a floating number.
And we behind the switch with had a value card is on.
And if it was in that is on the mod was true it means it was on.
Otherwise it meant it was off like this.
So that was another thing that we discussed.
And then after that we moved on into a Staples which are kind of similar to slider's in many ways they
increment and decrement something we could change the minimum maximum value or the step in which they
go we could let them go point five step at any given time or let's say 10 steps each time they had things
such as auto repeat continuous Arap that we discussed that you hold by then or to repeat functions.
Continuous means that it will constantly change not only when you let go of the top and drop means the
ends they mean the noise number below the minimum will be pushing us back to the maximum and the highest
number after the maximum pushes us back into the minimum number and then let me see what else we talked
about we talked about image views of course that we use image use to show images of course.
We use one of them and that's called image name.
And we got a name of an image that we had within our project in our bunda.
We also talked about their content more than we used a thing as they fill an aspect fit and then we
talked about anything else.
I don't think so I think that was pretty much it about this section.
So we covered these areas and now the combination of all of these you should be ready to essentially
do your assignments which are coming up in the next two.