From the course: iOS Development: Auto Layout Programmatically

Warming up the simulators - iOS Tutorial

From the course: iOS Development: Auto Layout Programmatically

Start my 1-month free trial

Warming up the simulators

- [Instructor] We'll be using three simulators for this course to show you the differences Auto Layout can do to devices. Xcode simulators can take a while to get going the first time you use them. Before I start using simulators, I like preloading them. To make the exercises move along quickly, I suggest launching all three simulators we're gonna use before working on the material. Open Xcode and go to the icon in the dock, right click, go to Open Developer Tool, and go to Simulator. You'll have some device show up. In this case, it's an iPhone X. That's one of the ones I want and I'm just gonna start to load right here. I'm gonna go over to Hardware and go to Device and you'll see where it says iOS 11.3, I'm gonna add two more devices. I'm gonna add the iPhone 8 Plus. And then I'm gonna go here and go to Device, and add the iPad Pro 9.7 inch. And these will start to load. Once they're all up again, I'm gonna click on each one of the devices, go to Hardware, and Erase All Content and Settings. This will erase everything that's there already. So, I'm gonna go ahead and do that for the iPhone 8 Plus. It'll ask me if I wanna erase, go ahead. Hardware, Erase All Content and Settings. Again, it warns me I'm gonna get rid of everything and put it back in the initial state. And I'm gonna do the same thing for the iPad. This does two things. It starts me on a clean slate so I don't have anything else conflicting with my applications. And it also cleans up a lot of extra memory that's taking up in your Mac. So, it helps in a lot of different ways. So, this will go ahead and load and we'll come back and see the screens come back up again. Once they come back up, you'll wanna do one more thing. Go to Simulator, go to Options, and check on Keep in Dock. That way, you can get to them easily. Now you have a clean setup for the Simulators you'll be using in this course.

Contents