1 00:00:00,720 --> 00:00:01,710 ‫Instructor: Hi. 2 00:00:01,710 --> 00:00:03,090 ‫Within this lecture, 3 00:00:03,090 --> 00:00:06,810 ‫we're going to give you your first assignment, 4 00:00:06,810 --> 00:00:10,860 ‫so you're gonna be building the worst calculator ever. 5 00:00:10,860 --> 00:00:14,970 ‫I'm calling it worst because this is so simple. 6 00:00:14,970 --> 00:00:19,230 ‫We can only do four basic operations in this calculator. 7 00:00:19,230 --> 00:00:21,030 ‫Let me give you an example. 8 00:00:21,030 --> 00:00:23,130 ‫So, I write 10 and 20. 9 00:00:23,130 --> 00:00:27,510 ‫I can sum them and I can subtract one from each other. 10 00:00:27,510 --> 00:00:32,510 ‫I can just try to multiply them or divide one by another. 11 00:00:33,480 --> 00:00:36,060 ‫So, as you can see, this is worst. 12 00:00:36,060 --> 00:00:38,220 ‫Of course, this is not an app 13 00:00:38,220 --> 00:00:41,280 ‫that you may want to upload to your app store, 14 00:00:41,280 --> 00:00:43,800 ‫but this will give you a good chance 15 00:00:43,800 --> 00:00:47,220 ‫to practice what you have been learning so far. 16 00:00:47,220 --> 00:00:49,440 ‫So, maybe you're thinking right now, 17 00:00:49,440 --> 00:00:53,610 ‫there are some elements in here that we haven't covered yet. 18 00:00:53,610 --> 00:00:55,320 ‫Yes, that's correct. 19 00:00:55,320 --> 00:00:57,390 ‫For example, we don't know how 20 00:00:57,390 --> 00:01:00,240 ‫to get this input from a user, right? 21 00:01:00,240 --> 00:01:02,280 ‫But, it's fairly easy. 22 00:01:02,280 --> 00:01:05,850 ‫I suggest you pause the video after the lecture 23 00:01:05,850 --> 00:01:07,440 ‫and try to Google this 24 00:01:07,440 --> 00:01:11,250 ‫and find out about how to do this input thing. 25 00:01:11,250 --> 00:01:13,200 ‫Let me even give you a hint. 26 00:01:13,200 --> 00:01:16,380 ‫This is called TextField, okay. 27 00:01:16,380 --> 00:01:18,900 ‫You can find this under library. 28 00:01:18,900 --> 00:01:21,300 ‫So, remember how we dragged (indistinct) 29 00:01:21,300 --> 00:01:23,490 ‫from the library in the first section? 30 00:01:23,490 --> 00:01:25,380 ‫That's how you do that. 31 00:01:25,380 --> 00:01:28,980 ‫You can just try to quickly Google 32 00:01:28,980 --> 00:01:32,880 ‫how to use text fields in Swift iOS 33 00:01:32,880 --> 00:01:36,900 ‫and you can find about all these operations. 34 00:01:36,900 --> 00:01:39,870 ‫And don't worry if you cannot do that on your own, 35 00:01:39,870 --> 00:01:42,240 ‫or don't worry if you don't wanna do that. 36 00:01:42,240 --> 00:01:44,370 ‫I'm going to be explaining this 37 00:01:44,370 --> 00:01:46,920 ‫and I'm going to be explaining a lot more 38 00:01:46,920 --> 00:01:51,000 ‫during these next three lectures, 39 00:01:51,000 --> 00:01:53,460 ‫but this will be a good chance for us 40 00:01:53,460 --> 00:01:56,610 ‫to practice what we have been learning so far 41 00:01:56,610 --> 00:01:59,400 ‫so that we're gonna go and build 42 00:01:59,400 --> 00:02:02,880 ‫the worst calculator ever has been made 43 00:02:02,880 --> 00:02:04,440 ‫in the history of world. 44 00:02:04,440 --> 00:02:08,103 ‫So, let's stop here and continue in the next lecture.