1
00:00:02,100 --> 00:00:03,310
So well come back again.

2
00:00:03,320 --> 00:00:09,410
This lesson is going to be a very simple lesson in this lesson we're going to learn how to use another

3
00:00:09,410 --> 00:00:10,940
kind of outlet.

4
00:00:10,940 --> 00:00:14,750
So I'm going to jump back into school and in school.

5
00:00:14,840 --> 00:00:21,920
But I closed this application save file close project I'm going to start a new one this new one I'm

6
00:00:21,920 --> 00:00:30,920
going to call it techs View project and my 6 year project which has obviously all the old semi-gloss

7
00:00:30,990 --> 00:00:41,020
things as before I'm going to go ahead and say this storyboard I want to make a different kind of element

8
00:00:41,120 --> 00:00:42,880
a different kind of object.

9
00:00:42,880 --> 00:00:49,280
If you remember we used labels which are primarily used for a single line or textile use.

10
00:00:49,370 --> 00:00:55,260
But what if I wanted to use a larger amount of text for that we could rely on something called a text

11
00:00:55,270 --> 00:00:55,760
view.

12
00:00:55,960 --> 00:01:01,900
Now obviously we will go through all of these elements at some points but in this first section I'm

13
00:01:01,900 --> 00:01:06,320
just trying to get you some sort of familiarity with the basics of them.

14
00:01:06,480 --> 00:01:13,480
So go ahead and either text you and I'm going to put this takes you in my view is a much larger one

15
00:01:13,980 --> 00:01:15,900
size and more space.

16
00:01:15,910 --> 00:01:19,150
And like always it has some default values in it.

17
00:01:19,180 --> 00:01:25,490
I don't want a house that I want to change not at the wrong time to something that I want to see.

18
00:01:25,690 --> 00:01:32,320
So to do that I'm going to go ahead and say open the assistant editor in the Assistant Editor I'm going

19
00:01:32,320 --> 00:01:41,600
to open my H fine and get myself a little bit more space so I can show it to you guys easier or something

20
00:01:41,600 --> 00:01:42,490
like that.

21
00:01:42,670 --> 00:01:49,600
I'm going to drag it by holding the control button into here after that interface of course I'm going

22
00:01:49,590 --> 00:01:57,580
to say this is let's say no longer takes this view.

23
00:01:57,850 --> 00:02:03,940
So it takes years essentially for use for when you have a long you know amount of takes a large amount

24
00:02:03,940 --> 00:02:04,620
of text.

25
00:02:04,700 --> 00:02:10,210
So I'm just calling it long it takes you and you know the reason we need to have a name is because there

26
00:02:10,210 --> 00:02:11,610
might be more than one.

27
00:02:11,620 --> 00:02:14,870
And we need to know which takes the view we're dealing with.

28
00:02:15,070 --> 00:02:18,050
I'm going to say connect so you can probably guess that.

29
00:02:18,070 --> 00:02:24,110
Now this takes is connected to something called The Long text you an outlet called lunatics.

30
00:02:24,310 --> 00:02:33,220
And I can go back to my editor open my dad and find and in my view the Lord they can say Long thanks

31
00:02:33,220 --> 00:02:35,170
to you dot text.

32
00:02:35,330 --> 00:02:38,110
And know this can become a long set of text.

33
00:02:38,110 --> 00:02:48,750
I'm going to say in days of course we will cover if I can type everything about AOS and will of men

34
00:02:48,850 --> 00:02:52,370
in Objective C Swift.

35
00:02:52,600 --> 00:02:58,580
There is more than two or three sections in this course.

36
00:02:58,630 --> 00:03:02,150
I hope you'll enjoy it.

37
00:03:02,520 --> 00:03:05,160
From that's about doubt.

38
00:03:05,170 --> 00:03:12,910
So I have a longer text of course this isn't really a way that an actual application does things simply

39
00:03:12,910 --> 00:03:19,150
because in every other occasion we don't have a static values of text we usually have takes being read

40
00:03:19,150 --> 00:03:23,760
for us from a network or some sort of you know our resource.

41
00:03:23,770 --> 00:03:30,180
But for an Out of interest I think is static values in here and now if I run the OP it should show me

42
00:03:30,280 --> 00:03:36,890
this value on my text you let me create now have a look at my text you are make sure that you know it

43
00:03:36,900 --> 00:03:38,230
looks nice.

44
00:03:38,230 --> 00:03:39,750
Why don't we do this.

45
00:03:39,790 --> 00:03:47,620
Why don't we select the background the view behind it and not that takes the view behind it and go to

46
00:03:47,620 --> 00:03:52,070
the inspectors and say Give me a bank under that is light correct.

47
00:03:52,210 --> 00:04:00,240
So there's some sort of you know overall color for my OP and my ethics is essentially the same color

48
00:04:00,270 --> 00:04:00,930
the right.

49
00:04:00,940 --> 00:04:03,660
I get on I've got the black text on it.

50
00:04:03,760 --> 00:04:06,930
I'm actually going to change the font size a little bit.

51
00:04:07,150 --> 00:04:08,120
Let's say.

52
00:04:08,460 --> 00:04:10,960
And now once my simulator loads

53
00:04:13,680 --> 00:04:21,100
we can see that hopefully at some point I have the text and it shows up in here.

54
00:04:21,130 --> 00:04:21,610
Perfect.

55
00:04:21,610 --> 00:04:29,060
So we only managed to make you only text few outlets and you'll be using a combination of those on your

56
00:04:29,110 --> 00:04:32,730
labels to do a quick exercise in our next lesson.

57
00:04:32,950 --> 00:04:36,360
And then from then on we move on with more advanced outlets.

58
00:04:36,640 --> 00:04:38,540
So I assume the next lesson.
