1 00:00:00,630 --> 00:00:02,850 ‫Instructor: Hi, following this lecture, 2 00:00:02,850 --> 00:00:04,980 ‫we are going to start learning 3 00:00:04,980 --> 00:00:08,490 ‫about iOS development fundamentals. 4 00:00:08,490 --> 00:00:12,060 ‫And unfortunately, as I said before, Apple has some kind 5 00:00:12,060 --> 00:00:16,800 ‫of limitations in order to run iOS development applications, 6 00:00:16,800 --> 00:00:20,970 ‫iOS applications in different operating systems. 7 00:00:20,970 --> 00:00:23,520 ‫So basically, you're gonna have to have a MacBook 8 00:00:23,520 --> 00:00:26,460 ‫in order to run the Xcode software 9 00:00:26,460 --> 00:00:28,980 ‫in which we develop iOS applications. 10 00:00:28,980 --> 00:00:32,340 ‫However, I found a way in order to run 11 00:00:32,340 --> 00:00:36,420 ‫the Swift code that is the programming language of Apple 12 00:00:36,420 --> 00:00:40,050 ‫in Windows and in Linux operating systems as well. 13 00:00:40,050 --> 00:00:41,970 ‫So we are going to start this section, 14 00:00:41,970 --> 00:00:44,310 ‫the iOS Development Fundamentals, 15 00:00:44,310 --> 00:00:47,220 ‫by learning about the Xcode overview. 16 00:00:47,220 --> 00:00:49,950 ‫And we are going to create a basic project 17 00:00:49,950 --> 00:00:52,530 ‫but then we are going to start 18 00:00:52,530 --> 00:00:57,530 ‫with this, like Variables and constants lecture, okay? 19 00:00:57,900 --> 00:01:00,600 ‫So find this Variables and constants lectures. 20 00:01:00,600 --> 00:01:03,540 ‫This is 65 for me right now, okay? 21 00:01:03,540 --> 00:01:05,160 ‫Sixty-fifth lecture. 22 00:01:05,160 --> 00:01:09,570 ‫However, it changes the order when I update the lectures 23 00:01:09,570 --> 00:01:13,830 ‫or when I add new lectures as it updates to this course. 24 00:01:13,830 --> 00:01:17,880 ‫So find the Variables and constants lectures 25 00:01:17,880 --> 00:01:21,720 ‫under the iOS development fundamentals. 26 00:01:21,720 --> 00:01:26,720 ‫And you can just go over here to start writing Swift code 27 00:01:26,880 --> 00:01:29,010 ‫in an online platform. 28 00:01:29,010 --> 00:01:30,570 ‫So basically what you're gonna do, 29 00:01:30,570 --> 00:01:32,790 ‫you're gonna open the Google, okay? 30 00:01:32,790 --> 00:01:36,210 ‫And search for Run Swift Online. 31 00:01:36,210 --> 00:01:37,260 ‫So if you search for it 32 00:01:37,260 --> 00:01:40,260 ‫we are going to see a lot of results, okay? 33 00:01:40,260 --> 00:01:42,810 ‫And the thing that I have found 34 00:01:42,810 --> 00:01:47,810 ‫is the, online.swiftplayground.run or the repl.it. 35 00:01:50,790 --> 00:01:54,660 ‫So you can actually see we have a lot of options 36 00:01:54,660 --> 00:01:57,630 ‫here as well, just find a working one. 37 00:01:57,630 --> 00:02:00,780 ‫For example, I will, most of the time 38 00:02:00,780 --> 00:02:03,960 ‫I will work something called Playground 39 00:02:03,960 --> 00:02:07,980 ‫and that is an platform by Apple in order to learn 40 00:02:07,980 --> 00:02:09,450 ‫about Swift development. 41 00:02:09,450 --> 00:02:11,610 ‫So whatever I write in the playgrounds 42 00:02:11,610 --> 00:02:15,120 ‫you can actually run it over here as well. 43 00:02:15,120 --> 00:02:17,970 ‫For example, let me just say, Let's play, 44 00:02:17,970 --> 00:02:21,480 ‫and it will just create something like this for me. 45 00:02:21,480 --> 00:02:23,310 ‫This is exactly what you will see 46 00:02:23,310 --> 00:02:25,800 ‫in a MacBook environment as well. 47 00:02:25,800 --> 00:02:29,400 ‫If you run this code, you will see the result 48 00:02:29,400 --> 00:02:33,030 ‫of that code over here, like we are printing Hello World 49 00:02:33,030 --> 00:02:35,160 ‫and we can see over here. 50 00:02:35,160 --> 00:02:37,620 ‫And in the MacBook we can see the results 51 00:02:37,620 --> 00:02:39,090 ‫on the right hand side. 52 00:02:39,090 --> 00:02:41,910 ‫However, over here you will see the results 53 00:02:41,910 --> 00:02:43,140 ‫on the bottom side. 54 00:02:43,140 --> 00:02:44,820 ‫So it really doesn't matter. 55 00:02:44,820 --> 00:02:49,820 ‫For example, if I do something like a Print five times two, 56 00:02:50,580 --> 00:02:54,330 ‫and if I run it, I can see 10 over here. 57 00:02:54,330 --> 00:02:56,580 ‫And in the real environment 58 00:02:56,580 --> 00:03:00,330 ‫in the real MacBook, if I see, if I say Five times two 59 00:03:00,330 --> 00:03:05,330 ‫over here, I can see the result of 10 without printing it. 60 00:03:06,120 --> 00:03:09,660 ‫So all you have to do is just print the result, okay? 61 00:03:09,660 --> 00:03:13,290 ‫Just add print statement at the very beginning 62 00:03:13,290 --> 00:03:16,110 ‫of this thing, and you can see the result 63 00:03:16,110 --> 00:03:19,110 ‫at the bottom of this playground. 64 00:03:19,110 --> 00:03:23,580 ‫So if you are on Windows and or if you're on Linux, 65 00:03:23,580 --> 00:03:26,730 ‫and if you want to learn about Swift programming language 66 00:03:26,730 --> 00:03:28,260 ‫this is the way to go. 67 00:03:28,260 --> 00:03:29,820 ‫Of course it will limit you. 68 00:03:29,820 --> 00:03:32,880 ‫For example, at the end of this section 69 00:03:32,880 --> 00:03:35,790 ‫like we did in the Android development section, 70 00:03:35,790 --> 00:03:39,150 ‫we're going to write a calculator code, okay? 71 00:03:39,150 --> 00:03:41,670 ‫You are not going to be able to run this 72 00:03:41,670 --> 00:03:43,200 ‫on a Windows machine. 73 00:03:43,200 --> 00:03:46,770 ‫You're not going to be able to open the Xcode 74 00:03:46,770 --> 00:03:49,710 ‫in a Windows environment or a Linux environment. 75 00:03:49,710 --> 00:03:52,620 ‫However, you can learn about the Swift fundamentals 76 00:03:52,620 --> 00:03:55,110 ‫in an easy way like this. 77 00:03:55,110 --> 00:03:57,965 ‫And if it doesn't work you will have a lot of options 78 00:03:57,965 --> 00:04:02,070 ‫like here, like I can say the same thing, 79 00:04:02,070 --> 00:04:04,137 ‫same thing over here, and I can run it, 80 00:04:04,137 --> 00:04:07,230 ‫and I can get the result on the right hand side 81 00:04:07,230 --> 00:04:09,030 ‫of this page. 82 00:04:09,030 --> 00:04:10,350 ‫So that's it. 83 00:04:10,350 --> 00:04:13,500 ‫So make sure you find Variables and constants lectures 84 00:04:13,500 --> 00:04:16,950 ‫after this if you're on Windows or Linux, and go for that. 85 00:04:16,950 --> 00:04:20,460 ‫And if you're on Mac, of course, just follow along with me 86 00:04:20,460 --> 00:04:24,213 ‫and do the MacBook setup and every other stuff as well.