Deleting Old iOS Simulators

I’ve been developing iOS apps for some time now and after a few iOS versions, my list of simulators starts looking like this:

Screen Shot 2018-11-27 at 1.48.17 PM.png

Each simulator takes from 100MB to 1GB of space, so this can eat up your disk space really quick! The trick is to simply delete the simulators you don’t need.

In the menu bar simply go into “Window” and click “Devices and Simulators”. The shortcut for this is ⌘+⇧+2 (Command+Shift+2).

Screen Shot 2018-11-27 at 1.48.30 PM.png

Then go into the “Simulators” tab and hit the delete key on all the simulators you no longer want!

Screen Shot 2018-11-27 at 1.48.37 PM.png

You can also rename your simulators:

Screen Shot 2018-11-27 at 2.10.28 PM.png


Now read this

View Containment in Swift

I’m always looking for this code snippet around and for some reason it doesn’t pop on Google that easily so I thought I’d post the 4 lines of code necessary for achieving view containment in Swift (this is Swift 4 by the way): override... Continue →