1 00:00:01,230 --> 00:00:07,850 So I coming again in this list and I'm going to really quickly recap everything I've done in this section. 2 00:00:07,890 --> 00:00:12,810 You don't really have to do anything in this class and you don't have to follow me along and do things 3 00:00:12,810 --> 00:00:19,740 or code the stuff you probably just funny and or sit back and relax as I reach up everything and somehow 4 00:00:19,740 --> 00:00:22,980 refresh your memory as to you know things that we have done. 5 00:00:23,130 --> 00:00:23,970 So Scott. 6 00:00:24,080 --> 00:00:33,000 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 7 00:00:33,000 --> 00:00:40,340 I know I have to remove it later on temporary jobs section 3 a.m. 3 cups of Shanthi. 8 00:00:40,390 --> 00:00:46,140 We're going to have a look at the things that we did primarily in the story both so in a storyboard 9 00:00:46,200 --> 00:00:52,830 are we covered these and those we made them view controllers and we learned that every view contour 10 00:00:52,830 --> 00:00:59,280 of would need its own class on this the fault you can tourists connected to something called The View 11 00:00:59,310 --> 00:01:00,550 Controller. 12 00:01:00,550 --> 00:01:07,130 And if I want to add a new you or I view controllers of I have to have the command and that is fine 13 00:01:07,150 --> 00:01:14,680 you file and then we assign them to the identity inspector and then we can do things on them the way 14 00:01:14,690 --> 00:01:15,920 we have been doing. 15 00:01:15,930 --> 00:01:21,720 We learned that this little guy in here means that this view quencher is the initial view controller 16 00:01:22,050 --> 00:01:28,620 and then we could just change it to another one to be our initial view controller from there on we went 17 00:01:28,620 --> 00:01:30,450 into talking about segues. 18 00:01:30,450 --> 00:01:34,510 We tried it with control from one view and one other one. 19 00:01:34,710 --> 00:01:40,610 We gave our segues identifiers so we know what they do and what they mean. 20 00:01:40,920 --> 00:01:46,520 And then we talked about them in here we talked about labels and buttons. 21 00:01:46,530 --> 00:01:52,100 You know we talked about how we could use the Baden's and how we could assign functions to them. 22 00:01:52,110 --> 00:01:55,700 For instance this father that I have in here is called the pink one. 23 00:01:55,890 --> 00:02:01,760 I'm going to go to you contour and that H in here I'm going to say IAB action. 24 00:02:02,010 --> 00:02:04,390 Let's say Pean function. 25 00:02:04,980 --> 00:02:11,140 And then we could either do this using the assistant at it's all or we could just of type the code then 26 00:02:11,200 --> 00:02:12,960 yeah I know a storyboard. 27 00:02:12,960 --> 00:02:19,320 If we go on select all of you can Torah's outlet in the connections we will end up seeing that action 28 00:02:19,350 --> 00:02:22,180 Pean function has been received. 29 00:02:22,400 --> 00:02:28,740 And if I derived from it over to here I can do something like a touch up inside which is a default behavior 30 00:02:28,740 --> 00:02:30,240 of all the Baden's. 31 00:02:30,270 --> 00:02:35,710 Now what that means is it means pink function will be called every time we stop on this button. 32 00:02:35,880 --> 00:02:43,320 Of course this op with currently in this very estate would crash simply because I know that declaration 33 00:02:43,710 --> 00:02:49,860 of a function but this function doesn't have any implementation or any body. 34 00:02:49,860 --> 00:02:56,160 So we have to copy that code to my dad and Matt and he my dad and I have to actually write the body 35 00:02:56,160 --> 00:02:58,610 of it even if it means nothing. 36 00:02:58,650 --> 00:02:59,900 It has to exist. 37 00:02:59,940 --> 00:03:02,540 Otherwise our OP is going to crash. 38 00:03:02,550 --> 00:03:03,870 So that was one thing. 39 00:03:03,870 --> 00:03:10,650 The other thing that we discussed was this If you go ahead into your viewpoint or that edge on your 40 00:03:10,650 --> 00:03:18,720 have a property for your button let's say we non autonomy we will discuss this in for details in the 41 00:03:18,720 --> 00:03:19,200 future. 42 00:03:19,200 --> 00:03:22,170 These are memory management models of the property. 43 00:03:22,260 --> 00:03:26,470 Don't worry about if you don't know them right now you just need to follow these steps. 44 00:03:26,550 --> 00:03:31,530 Like I've said several times throughout this course there are some topics that I can't just bring them 45 00:03:31,530 --> 00:03:37,730 up at the beginning simply because it makes the makes that lesson or that class quite overwhelming. 46 00:03:37,740 --> 00:03:43,530 So some things I expect you to just follow along with me and then as the time passes I will come back 47 00:03:43,530 --> 00:03:45,780 to them and I will explain what they are. 48 00:03:45,960 --> 00:03:48,470 So here I have an IB outlet. 49 00:03:48,510 --> 00:03:49,350 It's a you. 50 00:03:49,350 --> 00:03:50,170 I buy them. 51 00:03:50,250 --> 00:03:52,530 That is called my body. 52 00:03:52,700 --> 00:03:59,580 So remember that was defined declaring a function for a boy and this was the an outlet for a body. 53 00:03:59,580 --> 00:04:01,920 And so I'm going to go to storyboard in here. 54 00:04:01,920 --> 00:04:08,460 I'm going to select my outlet and now I have received an outlet called my button which I can derive 55 00:04:08,490 --> 00:04:09,710 from it to the button. 56 00:04:09,750 --> 00:04:12,150 And then they get connected to each other. 57 00:04:12,150 --> 00:04:17,690 Now if you have buttons like this you could go to a place such as your view would you it. 58 00:04:17,700 --> 00:04:25,740 Not necessarily but you could say my body in the target and I could add an action to them and that action 59 00:04:25,740 --> 00:04:28,480 doesn't have to be an IP action. 60 00:04:28,530 --> 00:04:32,700 So that could be ovoid let's call it my action. 61 00:04:32,880 --> 00:04:40,770 And that I would say at Target within itself and the action is selected or is called My action. 62 00:04:40,900 --> 00:04:50,820 And for the control event let's say touch of inside which is that one not outside touch up inside for 63 00:04:50,820 --> 00:04:51,930 instance. 64 00:04:51,930 --> 00:04:53,550 So that's about that. 65 00:04:53,550 --> 00:05:02,480 Now this then every time that is being tapped on it triggers this function the next thing we talked 66 00:05:02,480 --> 00:05:08,530 about in this lesson that we quickly have a look was segmented controls which are very simple. 67 00:05:08,540 --> 00:05:13,830 They have multiple different Baden's only one of them can be active at any given time. 68 00:05:13,970 --> 00:05:22,250 And then we use something such as my segmented control dart selected segment index to know which one 69 00:05:22,250 --> 00:05:24,620 is the current the selected one. 70 00:05:24,620 --> 00:05:28,950 So for instance here the Kaante selected one is segment zero. 71 00:05:29,060 --> 00:05:36,120 If I change that to one we will see segment 1 and the selected disappear. 72 00:05:36,120 --> 00:05:39,970 So that's how we understand which one is currently selected. 73 00:05:39,980 --> 00:05:42,730 I could reach back and that's what happened. 74 00:05:43,100 --> 00:05:49,430 And then from there on we moved on to talking about textfield Fisher again very simple text takes we 75 00:05:49,430 --> 00:05:55,820 could change their format and they look by changing their board style as well as their backgrounds and 76 00:05:55,820 --> 00:05:58,760 what not they could change the keyboard type. 77 00:05:58,770 --> 00:06:04,280 And there was some other stuff here that will talk at some point like the capitalization or auto correction 78 00:06:04,280 --> 00:06:07,090 or a smart dashes or insets or whatnot. 79 00:06:07,220 --> 00:06:15,060 And then we also learned that there is something called If I had a text with you I text fields that 80 00:06:15,740 --> 00:06:22,960 if I had something called my text I felt the I could use something such as my text failed Dadda resign 81 00:06:22,960 --> 00:06:29,090 the first responder which would essentially get rid of the keyboard for that text. 82 00:06:29,120 --> 00:06:31,220 So remember that as well. 83 00:06:31,430 --> 00:06:38,910 Then in here we talked about the sliders on switch so I'm going to bring both of them in one go slider 84 00:06:39,920 --> 00:06:43,520 and a switch and that's that. 85 00:06:43,790 --> 00:06:49,970 But remember the sliders they had minimum and maximum values and they were floating numbers and liquidy 86 00:06:49,970 --> 00:07:00,410 feel wanted used things such as round or a seal or floor or just casting them into an integer to get 87 00:07:00,410 --> 00:07:02,050 the integer value of them. 88 00:07:02,060 --> 00:07:05,500 But the default behavior of them was a floating number. 89 00:07:05,700 --> 00:07:10,180 And we behind the switch with had a value card is on. 90 00:07:10,340 --> 00:07:14,580 And if it was in that is on the mod was true it means it was on. 91 00:07:14,660 --> 00:07:17,660 Otherwise it meant it was off like this. 92 00:07:17,660 --> 00:07:19,870 So that was another thing that we discussed. 93 00:07:20,120 --> 00:07:28,010 And then after that we moved on into a Staples which are kind of similar to slider's in many ways they 94 00:07:28,010 --> 00:07:34,580 increment and decrement something we could change the minimum maximum value or the step in which they 95 00:07:34,580 --> 00:07:42,440 go we could let them go point five step at any given time or let's say 10 steps each time they had things 96 00:07:42,440 --> 00:07:49,360 such as auto repeat continuous Arap that we discussed that you hold by then or to repeat functions. 97 00:07:49,430 --> 00:07:56,210 Continuous means that it will constantly change not only when you let go of the top and drop means the 98 00:07:56,210 --> 00:08:03,080 ends they mean the noise number below the minimum will be pushing us back to the maximum and the highest 99 00:08:03,080 --> 00:08:10,370 number after the maximum pushes us back into the minimum number and then let me see what else we talked 100 00:08:10,370 --> 00:08:15,260 about we talked about image views of course that we use image use to show images of course. 101 00:08:15,260 --> 00:08:18,270 We use one of them and that's called image name. 102 00:08:18,350 --> 00:08:23,210 And we got a name of an image that we had within our project in our bunda. 103 00:08:23,210 --> 00:08:30,710 We also talked about their content more than we used a thing as they fill an aspect fit and then we 104 00:08:30,710 --> 00:08:32,190 talked about anything else. 105 00:08:32,210 --> 00:08:37,020 I don't think so I think that was pretty much it about this section. 106 00:08:37,220 --> 00:08:43,730 So we covered these areas and now the combination of all of these you should be ready to essentially 107 00:08:43,730 --> 00:08:47,000 do your assignments which are coming up in the next two.