1 00:00:00,241 --> 00:00:01,590 ‫Instructor: Hi. 2 00:00:01,590 --> 00:00:05,670 ‫Before we go on and learn about iOS development 3 00:00:05,670 --> 00:00:07,620 ‫we have to make sure that 4 00:00:07,620 --> 00:00:12,620 ‫we have necessary tools available in our MacBooks. 5 00:00:13,260 --> 00:00:14,790 ‫In order to do that, 6 00:00:14,790 --> 00:00:18,300 ‫we are going to download something called Xcode 7 00:00:18,300 --> 00:00:21,330 ‫from the Apple Developer website so 8 00:00:21,330 --> 00:00:26,190 ‫that we can write our codes inside of that software. 9 00:00:26,190 --> 00:00:29,100 ‫So you have to open a browser 10 00:00:29,100 --> 00:00:33,806 ‫and go to this website, developer.apple.com. 11 00:00:33,806 --> 00:00:38,010 ‫So this is a fantastic website by Apple. 12 00:00:38,010 --> 00:00:41,640 ‫They let developers know the latest technologies 13 00:00:41,640 --> 00:00:46,470 ‫latest developments, latest available tools like, Xcode, 14 00:00:46,470 --> 00:00:51,120 ‫or other operating systems as well in this website. 15 00:00:51,120 --> 00:00:52,800 ‫And we can actually browse 16 00:00:52,800 --> 00:00:55,860 ‫through this website to see the documentation, 17 00:00:55,860 --> 00:00:58,536 ‫how we can leverage the latest technologies, 18 00:00:58,536 --> 00:01:03,270 ‫how we can use the latest news in our own apps. 19 00:01:03,270 --> 00:01:07,920 ‫But right now we are interested in this development tap. 20 00:01:07,920 --> 00:01:09,900 ‫And if you click on here 21 00:01:09,900 --> 00:01:12,810 ‫you will see the latest technologies available 22 00:01:12,810 --> 00:01:14,490 ‫for the developers. 23 00:01:14,490 --> 00:01:15,450 ‫Okay? 24 00:01:15,450 --> 00:01:18,960 ‫And you can browse this in your own spare time 25 00:01:18,960 --> 00:01:23,370 ‫but right now you have to go to this download tap. 26 00:01:23,370 --> 00:01:27,540 ‫So if you click on this download tap, it'll bring you 27 00:01:27,540 --> 00:01:31,920 ‫to a website in which you can download the necessary tools. 28 00:01:31,920 --> 00:01:36,210 ‫But first you have to give your Apple ID 29 00:01:36,210 --> 00:01:38,190 ‫in order to reach those tools. 30 00:01:38,190 --> 00:01:41,160 ‫And this is a basic Apple ID. 31 00:01:41,160 --> 00:01:46,080 ‫So if you're using an iPhone or an iPad or a MacBook, 32 00:01:46,080 --> 00:01:49,320 ‫I believe you have one Apple ID. 33 00:01:49,320 --> 00:01:53,190 ‫If you don't have one, you can create here to create 34 00:01:53,190 --> 00:01:57,930 ‫yours and create your Apple ID for free. 35 00:01:57,930 --> 00:02:00,510 ‫And you have to give your password and you have 36 00:02:00,510 --> 00:02:01,740 ‫to allow this. 37 00:02:01,740 --> 00:02:05,760 ‫And then it will take you to this download section. 38 00:02:05,760 --> 00:02:06,593 ‫Okay? 39 00:02:06,593 --> 00:02:08,310 ‫So if you don't have an Apple ID yet 40 00:02:08,310 --> 00:02:11,640 ‫please create one and sign in. 41 00:02:11,640 --> 00:02:15,240 ‫So in here you will see an operating systems tabs 42 00:02:15,240 --> 00:02:17,670 ‫and an application tab. 43 00:02:17,670 --> 00:02:22,670 ‫So not only we have the ability to reach the applications 44 00:02:23,250 --> 00:02:27,000 ‫but also we see the operating systems here as well. 45 00:02:27,000 --> 00:02:30,270 ‫So if you click on the applications, you will see 46 00:02:30,270 --> 00:02:31,920 ‫the Xcode. 47 00:02:31,920 --> 00:02:36,450 ‫And in the operating systems we have like Mac Os Catalina 48 00:02:36,450 --> 00:02:37,530 ‫and others. 49 00:02:37,530 --> 00:02:40,080 ‫So in here we have two options. 50 00:02:40,080 --> 00:02:43,470 ‫One is beta and the other one is release. 51 00:02:43,470 --> 00:02:46,410 ‫Release means it's open to public now. 52 00:02:46,410 --> 00:02:49,740 ‫It means that we have completed the development 53 00:02:49,740 --> 00:02:53,640 ‫phase and now the public is using it. 54 00:02:53,640 --> 00:02:56,220 ‫But generally they provide the beta 55 00:02:56,220 --> 00:02:58,890 ‫version to developers much earlier than 56 00:02:58,890 --> 00:03:02,040 ‫the public because developers might need to 57 00:03:02,040 --> 00:03:06,150 ‫adjust their apps to upcoming features, 58 00:03:06,150 --> 00:03:08,010 ‫upcoming technologies. 59 00:03:08,010 --> 00:03:12,870 ‫For example, every September iOS launches a new version 60 00:03:12,870 --> 00:03:14,340 ‫of the iOS, right? 61 00:03:14,340 --> 00:03:17,730 ‫Like iOS 12, iOS 13, iOS 14. 62 00:03:17,730 --> 00:03:22,350 ‫So they get, we get these releases in September. 63 00:03:22,350 --> 00:03:24,900 ‫So around like June or July 64 00:03:24,900 --> 00:03:27,810 ‫we have to download the beta version 65 00:03:27,810 --> 00:03:32,130 ‫of the Xcode to see how to implement the new technologies 66 00:03:32,130 --> 00:03:35,130 ‫to our apps so that we will be ready 67 00:03:35,130 --> 00:03:36,840 ‫when the release is there 68 00:03:36,840 --> 00:03:39,180 ‫so that we can push our new apps 69 00:03:39,180 --> 00:03:42,840 ‫new version apps to the public. 70 00:03:42,840 --> 00:03:47,840 ‫So by the time I'm recording this, Xcode 11 is in the beta. 71 00:03:48,030 --> 00:03:50,580 ‫So I'm gonna download it from here. 72 00:03:50,580 --> 00:03:54,130 ‫If you see it in the release, then it's going to be okay. 73 00:03:54,130 --> 00:03:58,287 ‫You will have to download it from the release tab then 74 00:03:58,287 --> 00:04:02,650 ‫but I suggest you go for Xcode 11 and beyond. 75 00:04:02,650 --> 00:04:07,650 ‫Xcode 10 is the old news now because we have to be working 76 00:04:08,460 --> 00:04:13,173 ‫with Xcode 11, Swift 5, and iOS 13 and upwards. 77 00:04:14,280 --> 00:04:17,730 ‫So I'm gonna show you how to download this 78 00:04:17,730 --> 00:04:20,070 ‫and how to install this. 79 00:04:20,070 --> 00:04:23,220 ‫And if you click on this download, it will just 80 00:04:23,220 --> 00:04:26,730 ‫start the download process and it's a little bit big 81 00:04:26,730 --> 00:04:31,020 ‫so it's kind of eight or 7.5 gigabytes right now. 82 00:04:31,020 --> 00:04:32,520 ‫So it's gonna take time. 83 00:04:32,520 --> 00:04:34,320 ‫So feel free to pause the video 84 00:04:34,320 --> 00:04:37,530 ‫and come back after your download is finished. 85 00:04:37,530 --> 00:04:40,590 ‫Of course, I downloaded it before in order not 86 00:04:40,590 --> 00:04:44,100 ‫to make you wait, but feel free to pause the video. 87 00:04:44,100 --> 00:04:45,180 ‫Okay? 88 00:04:45,180 --> 00:04:48,120 ‫So after it's done, what you have to do 89 00:04:48,120 --> 00:04:50,859 ‫you have to come to your downloads folder 90 00:04:50,859 --> 00:04:53,940 ‫and you will see something like the zip. 91 00:04:53,940 --> 00:04:56,160 ‫So let me move this to trash. 92 00:04:56,160 --> 00:04:58,645 ‫So you will either see the zip 93 00:04:58,645 --> 00:05:03,645 ‫or it will direct you to the app store or iTunes Connect. 94 00:05:03,960 --> 00:05:05,730 ‫So I'm gonna show you both ways. 95 00:05:05,730 --> 00:05:06,563 ‫Don't worry. 96 00:05:06,563 --> 00:05:10,847 ‫If you get the zip rather than App store or iTunes, 97 00:05:12,150 --> 00:05:15,360 ‫then you just have to double click on the zip 98 00:05:15,360 --> 00:05:20,360 ‫and it will bring this Xcode beta out in your folder, okay? 99 00:05:20,607 --> 00:05:24,515 ‫All you have to do then just take this Xcode beta 100 00:05:24,515 --> 00:05:28,770 ‫and move it into your applications folder here. 101 00:05:28,770 --> 00:05:33,090 ‫So let me open my applications folder in another finder. 102 00:05:33,090 --> 00:05:34,110 ‫Okay. 103 00:05:34,110 --> 00:05:37,020 ‫So let me go to applications. 104 00:05:37,020 --> 00:05:41,280 ‫And as you can see, my Xcode beta is already there 105 00:05:41,280 --> 00:05:43,800 ‫so I'm not going to move it again. 106 00:05:43,800 --> 00:05:45,480 ‫But all you have to do is just move it 107 00:05:45,480 --> 00:05:47,430 ‫and place it over there. 108 00:05:47,430 --> 00:05:50,010 ‫And then after you can just double click 109 00:05:50,010 --> 00:05:53,940 ‫on this and open it to use the Xcode beta. 110 00:05:53,940 --> 00:05:55,770 ‫We are going to see that in the next lecture. 111 00:05:55,770 --> 00:05:57,003 ‫Don't worry as well. 112 00:05:57,840 --> 00:06:01,140 ‫And you can find it in your launchpad as well. 113 00:06:01,140 --> 00:06:04,440 ‫And I believe mine should be here. 114 00:06:04,440 --> 00:06:05,850 ‫Yep, it's here. 115 00:06:05,850 --> 00:06:10,050 ‫I can open the Xcode beta from my launchpad as well. 116 00:06:10,050 --> 00:06:14,070 ‫So what happens if you click on that download button 117 00:06:14,070 --> 00:06:17,520 ‫and instead of starting downloading it brings you 118 00:06:17,520 --> 00:06:20,640 ‫the abstract page like this? 119 00:06:20,640 --> 00:06:23,160 ‫Then all you have to do is just click 120 00:06:23,160 --> 00:06:26,181 ‫on this get and then install the app. 121 00:06:26,181 --> 00:06:28,740 ‫It'll ask you for your password 122 00:06:28,740 --> 00:06:31,410 ‫and this is the password for your MacBook 123 00:06:31,410 --> 00:06:34,920 ‫or you can just do a fingerprints scan as well. 124 00:06:34,920 --> 00:06:37,890 ‫And it will start installing the Xcode for you. 125 00:06:37,890 --> 00:06:41,160 ‫After it completes, you can find the Xcode 126 00:06:41,160 --> 00:06:45,810 ‫in your applications folder or your launchpad one more time. 127 00:06:45,810 --> 00:06:46,680 ‫So that's it. 128 00:06:46,680 --> 00:06:50,280 ‫That's all you have to do to install the Xcode. 129 00:06:50,280 --> 00:06:52,290 ‫But there are some questions. 130 00:06:52,290 --> 00:06:53,670 ‫There may be some questions 131 00:06:53,670 --> 00:06:57,480 ‫in your mind regarding the operating systems. 132 00:06:57,480 --> 00:06:58,320 ‫As you can see, 133 00:06:58,320 --> 00:07:03,000 ‫I'm using Mac OS Catalina in my computer right now. 134 00:07:03,000 --> 00:07:05,820 ‫Do you have to install Mac OS Catalina? 135 00:07:05,820 --> 00:07:07,350 ‫Not necessarily. 136 00:07:07,350 --> 00:07:12,350 ‫You can use Mac OS, Mojave or Catalina with Xcode 11. 137 00:07:12,720 --> 00:07:14,730 ‫Of course, if you have a newer version 138 00:07:14,730 --> 00:07:17,520 ‫you're more than welcome to use it as well 139 00:07:17,520 --> 00:07:21,450 ‫but it has to be at least Mac OS Mojave, okay? 140 00:07:21,450 --> 00:07:24,150 ‫So if you have an old MacBook, 141 00:07:24,150 --> 00:07:27,420 ‫like you cannot upgrade to Mac OS Catalina 142 00:07:27,420 --> 00:07:29,190 ‫or Mac OS Mojave 143 00:07:29,190 --> 00:07:33,030 ‫then you would have to find an Xcode 10 version 144 00:07:33,030 --> 00:07:35,970 ‫and use it instead of Xcode 11. 145 00:07:35,970 --> 00:07:38,490 ‫But the latest one is Xcode 11. 146 00:07:38,490 --> 00:07:42,838 ‫And there might be some changes in the codes like in the 90 147 00:07:42,838 --> 00:07:46,483 ‫95% of the time they're still the same 148 00:07:46,483 --> 00:07:50,880 ‫but I suggest you upgrade to the latest version. 149 00:07:50,880 --> 00:07:54,930 ‫And if you encounter any problem using one of 150 00:07:54,930 --> 00:07:57,234 ‫the old MacBooks with Xcode 10 151 00:07:57,234 --> 00:08:00,570 ‫just post your questions in the Q and A section 152 00:08:00,570 --> 00:08:03,630 ‫and I will be more than happy to help you because 153 00:08:03,630 --> 00:08:06,090 ‫I know all the older versions as well. 154 00:08:06,090 --> 00:08:08,190 ‫Don't worry about that. 155 00:08:08,190 --> 00:08:10,620 ‫And at the near of the end of this course 156 00:08:10,620 --> 00:08:12,240 ‫we are going to learn something called 157 00:08:12,240 --> 00:08:16,430 ‫Swift UI and it actually requires Mac OS Catalina. 158 00:08:16,430 --> 00:08:20,880 ‫So if you are waiting for to upgrade to Mac OS Catalina 159 00:08:20,880 --> 00:08:24,300 ‫I suggest you do that with Xcode 11 so that 160 00:08:24,300 --> 00:08:27,450 ‫you will have a complete setup to start with. 161 00:08:27,450 --> 00:08:30,300 ‫So that's it if you're done by now. 162 00:08:30,300 --> 00:08:31,260 ‫Let's stop here. 163 00:08:31,260 --> 00:08:33,060 ‫And within the next lecture, we are going to 164 00:08:33,060 --> 00:08:36,843 ‫discuss how to create our first Xcode project.