Tools for iOS 11 App Development

Dr. Angela Yu
A free video tutorial from Dr. Angela Yu
Developer and Lead Instructor
4.7 instructor rating • 7 courses • 528,633 students

Lecture description

In this lesson, I'll walk though the tools you'll need to start developing apps for iOS. Including a mac computer and what to do if you don't have a physical iOS device such as an iPhone or iPad.

Learn more from the full course

iOS 11 & Swift 4 - The Complete iOS App Development Bootcamp

Learn iOS 11 App Development From Beginning to End. Using Xcode 9 and Swift 4. Includes Full ARKit and CoreML Modules!

48:48:04 of on-demand video • Updated October 2019

  • Be able to build any app you want
  • Craft a portfolio of apps to apply for junior developer jobs
  • Build fully-fledged apps for your startup or business
  • Work as a freelance iOS developer
  • Master creating Augmented Reality apps using Apple’s new ARKit
  • Create your first Machine Learning app using Apple’s new CoreML
English Right. So in this lecture we're going to be covering some of the tools that you'll need in terms of software and hardware to start developing for iOS. First and foremost you will need a Mac of some sort. Now it doesn't have to be the latest or the greatest but it just has to be able to run OS 10. And it's now called Mac OS. And the reason why we need Mac OS is because we need to install a piece of software called Xcode that will allow us to develop our iOS app. So this means that iPads and even iPad Pros are out of the question. But if you have an iMac or if you have a Macbook or even a Mac Mini it will work just fine. So if you don't already have a Mac and you don't want to invest a lot in a brand spanking new top of the range MacBook then one of the cheapest ways is probably just going onto eBay and getting a second hand Mac Mini for around $500 and it's a pretty great deal and it'll do just fine. But what do you do if you only have a PC. Well the other option is that you can go for something called Mac in Cloud. So if you head over to www.macincloud.com they have a service where essentially they offer you a Mac in the cloud so you can be using your PC and you have a remote connection to a Mac that is just for you and it's already got Xcode pre downloaded so you can just get up and go. Now there's a lot of people who ask about Hackintosh or how can you run a Mac sort of dual boot a Mac on your PC without having to pay for a service like Mac in Cloud. Well there's a number of ways that you can do this. But one of the major downsides is that Apple is very strict about controlling their software and the environment in which their software runs. So even if you using Mac in Cloud even if you're using a Hackintosh solution you won't be able to run your app on a physical iPhone device you own. The only way that you can do that is by having an actual Mac, but you will be able to run it on a simulator inside Xcode. So this is a simulated version of an iPhone and for all intents and purposes it will work just as well. It's just say if you're really excited about having your app on your iPhone then you really need to find a way of either borrowing somebody's Mac or getting one cheaply. Details and resources in the text file of this lecture that talks about how you can go about exploring some of these ways of turning a PC into a Hackintosh. But I would still recommend try out some of the earlier solutions rather than going towards building a Hackintosh. It's just that we've had a lot of students on the in-person programming bootcamps who've tried to do this and it's always given them a lot of headaches. So if you can, really try and avoid this as this is almost a last ditch solution. Now the software that you'll be using is Xcode and this is a piece of software that's written by Apple and allows you to write code allows you to design your app as well as run your app within the simulator that it comes with. And this is completely free. And in the next lecture we'll be showing you how to download it and how to get it set up. So in order to be able to download Xcode 9 which is the version of Xcode that we'll be working with your Mac operating system has to be at minimum MacOS Sierra and it has to be ten point twelve point six or above alternatively. And what I recommend is to simply update to Mac OS high Sierra which is the latest version of Mac OS. So it's a free update and you can do it quite easily. Inside the Mac App Store. And that's Mac OS version ten point thirteen or above. So it's quite easy to check the version of Mac OS that you've got. So if you just head over to the Apple symbol here and you go to about this Mac then you can see what is the version of Mac OS that you're running. And you can click software update in order to take you to the App Store where you can update your software. Alternatively you can just head into the Mac App Store and search for Mac OS high Sierra and it'll take you to the download page where you'll be able to download it for free. So usually what happens with Xcode is that they'll support the last version of MacOS. So in this case it'll be Sierra for a while so maybe usually four to six months and then the later versions of Xcode 9 will no longer support it. And it will require you to update to MacOS High Sierra. So MacOS High Sierra is an intermediate update for Sierra and it goes along the naming convention that Apple tends to use. So for example when Lion was updated minimally The version was called Mountain Lion and similarly with Leopard and snow leopard. So is Sierra and High Sierra so there's no major dramatic changes but there are some nice little tweaks and a few things that you might find to be quite useful so you can have a browse on Apple's website. But one of the things that's quite cool that I've noticed is their photo editing software the latest version that shipped with high Sierra has almost Lightroom like capabilities. So if you're an amateur photographer these might be some cool tools that will help you. So for example adjusting levels and white balance etc. on your photos and it makes it really easy and pretty neat. And there's a whole bunch of other things that they've added. Generally I would say are just tweaks things that make your life marginally better. I would recommend to update to High Sierra. Now if you haven't already done so we've been testing the beta for a while and it's quite stable and in order to use Xcode in the future you'll probably need to update at some point. So I recommend getting it now. So when you're testing your app you've got the choice of either testing on a physical device. If you own an iPhone or an iPad. So because the course is aimed at teaching you how to make apps for iPhone. A lot of the design that you'll be making a lot of the projects stubs will have the design and layouts optimized for iPhones so it might look a little bit stretched on iPad but it will work just fine if you don't have an iPhone. You don't have to run out right away and get one. This is something that I would recommend you know once you realize that you're really into this and you really want to carry on making apps for... Or if you're at the point where you're about to release on the App Store then you have to test your app on a physical device. It's at this point when you would actually get an iPhone. So not straight away. So as I mentioned Xcode comes bundled with an iOS simulator and it's sort of like a virtual phone that runs on your computer and you can essentially, you know, use the rotate gestures or the shake gestures. You can zoom in and out and you can tap etc.. So it's just a simulated iPhone and that works just as well. The only times when it doesn't really work so well is when you are starting .. when you are using notifications or if you're using Apple health or Apple home or some of those things it can get a little bit tricky. All right. So another question that we get asked a lot is about universal development. So this is your cross-platform ways of developing apps for iPhone. The three that just came up off the top my head is phone gap which uses HTML/CSS/JS and just Zamarin which is uses C# and appccelerator which uses again Javascript. So the advice that we tend to give students is that while this is while this seems really appealing because you're essentially developing once and deploying it both on iOS and Android you can do that simultaneously. The problem is that your user experience won't be as nice. You won't be able to tap into some of the native functionality of the phones. And in terms of design-wise it's just not as pretty and it's very obvious to a seasoned developer looking at something that's been done on cross platform. So I would strongly recommend you actually learn to use the native tools because it is the most powerful and allow you to build more complex apps in the future. And that's exactly what we'll be doing in this course. We're going to be using the professional tools so Xcode in order to make iOS apps. Another thing they should always ask yourself before you make any app is do you actually need an app or can you actually make do with a mobile Responsive Web site now because we have a mobile app development agency as well at the London App Brewery, one of the things that we tend to recommend. We have a lot of clients who come to us and say you know I want you to make this app and we actually spent a lot of time turning people away and telling them Look you can get this made much quicker much cheaper by just getting a web designer to make a web site for you that's mobile responsive that scales nicely on the phone because unless you're tapping into some of the sensors within the phone, say if you need the location or if you need to be able to send people notifications. Something that is inherent about the phone that you need. Otherwise if you just need to display information then making an app is a very time and money costly way of going about that. So always think about whether you actually need to make an app before you make any app. And finally we're just going to mention that prior to Xcode 7 so Xcode 6, in order to actually download the app that you coded up that you developed within Xcode onto your physical iPhone device that you own. You actually had to pay Apple ninety nine dollars a year in order to be on the Apple developer program. So as of Xcode 7 so I think that with September 2015 when it launched that you are now able to do this on any free Apple account. So all you need is just your normal iTunes account which you use to download apps and will be able to get it. Will be able to get your code and your app on to your iPhone device. Now when would you consider signing up for Apple developer program? This is when you're ready to launch your app onto the app store and start generating revenue. So I would recommend that try to delay signing up for the Apple developer program as long as you can because your charge on a daily basis rolling essentially. So if you're not yet ready to take advantage of the apple developer program if you haven't got your app together yet if you're not ready to upload the App Store then there's actually no point paying Apple for that privilege. So you build your app test it thoroughly. Once your ready and about to launch it to the App Store then start paying for your apple developer program license. And this gets you access to something called iTunes Connect. This is a portal where you can upload your apps you can check your app analytics how many times it's been downloaded how many people are using it. You can check your sales you can see how much money you're making every day. Cetera et cetera. So this is something that we're going to cover in one of the last section we guide you through how to actually upload an app to the App Store. So all of that is coming up. All right. So those were all the tools that you'll need in order to get started. And in the next lesson I'm going to show you how to install and set up Xcode so that you'll be able to get up and running very quickly. And we can get started making our first app.