Book Image

Swift Cookbook

By : Cecil Costa, Cecil Costa
Book Image

Swift Cookbook

By: Cecil Costa, Cecil Costa

Overview of this book

Table of Contents (18 chapters)
Swift Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Installing Xcode from the App Store


The first way of installing Xcode is by downloading it from the App Store. The advantage of this method is that you will be warned about updates, and the system requirements will be checked before the download starts.

Getting ready

To download any program from the App Store, you must have an Apple ID; it's free and it won't take long to set up.

How to do it...

  1. To download Xcode from the App Store, just open App Store from your dock or your applications folder.

  2. The first time you open the App Store, it will ask you for your Apple ID details (email and password). After opening this application, just search for xcode in the textbox, which is located on the upper-right corner of this application.

  3. Make sure that you are installing Xcode from the right vendor (Apple); sometimes, we get results that lead us to think that they are what we want but they aren't.

  4. Once you have found the Xcode app, just click on the Install button, and the next step is to go for coffee, or you can call a friend, because Xcode is 2.2 gigas, which means that it will take a while to download, so take a break now.

  5. To check if Xcode has finished the installation, you just need to open the Applications folder or the Launchpad app, then have a look to see whether there is any progress bar under the Xcode icon.

How it works...

Like any other application that you will install from the App Store, you only need to open the App Store application, search for it, and install it.

There's more...

If you buy a new computer, you will see that Xcode will be offered to be installed into your new machine. This is because Apple keeps track of the applications you've already installed.