Description Registration Lectures Tools and tutorials Exercises

Main tools

SwitchDrive (you can easily store your files/exercices on a Swiss cloud: alternative solution to Dropbox) + IntelliJ + Xcode

Tutorials

1. Tutorials in French: Switchdrive |  Xcode | IntelliJ

2. Tutorials in English for SwitchDrive, IntelliJ and Xcode (below):

SwitchDrive

How to use SwitchDrive ?

https://help.switch.ch/drive/faq/

IntelliJ

      How to start IntelliJ IDEA on a computer of the room Internef 143 and POL 140/146 ?

  1. Open a user session with your username and password and open IntelliJ IDEA
  2. Set the license server by indicating the following information: ? (select the 30 days trial to start the semester)
  3. Download the plugings called “Scala” and “Python” by clicking on “Configure” and “Plugins” on the welcome window and “Browse repositories…” after in order to start a new plugin search
  4. Restart IntelliJ
  5. In order to create a new Scala project, click on “Create New Project” on the welcome window, select “Scala” on the left bar, select SBT and choose a project name
  6. Set the Scala SDK after having created your first .scala file by selecting the latest version of Scala 2.12…
  7. In order to create a new Python project, click on “Create New Project” on the welcome window, select “Python” on the left bar, set the project SDK by choosing python 3.5

      How to start IntelliJ IDEA on your laptop ?

  1. Download the ultimate version of IntelliJ IDEA on this website https://www.jetbrains.com/idea/download/ and ask for a student academic license on this website https://www.jetbrains.com/student/
  2. Download the plugings called “Scala” and “Python” by clicking on “Configure” and “Plugins” on the welcome window and “Browse repositories…” after to start a new plugin search.
  3. Install Homebrew (http://brew.sh/) to download Python 3.5 and Scala librairies with command lines
  4. In order to create a new Scala project, refer to the steps 5 and 6 of the previous section
  5. In order to create a new Python project, refer to the step 7

      How to create your first Scala or Python project with IntelliJ IDEA ?

Follow this tutorial for Scala: https://www.jetbrains.com/help/idea/2016.2/creating-and-running-your-scala-application.html

And this tutorial for Python (do not implement classes, they will be introduced later during the course): https://www.jetbrains.com/help/pycharm/2016.2/creating-and-running-your-first-python-project.html

Xcode

     How to start Xcode on a computer of the room Internef 143 and POL 140/146 ?

  1. Search Xcode in the search icon in the top right corner (we consider that you are already logged in to a computer of a room)
  2. Open Xcode, create a new iOS project (a “Single View Application”), fill the options of the project (Product name, Organization identifier following the pattern: ch.unil.act) and finish it.
  3. You can now complete the class “ViewController.swift” for your exercise

      How to start Xcode on your laptop ?

  1. Download Xcode from “App Store” earch Xcode in the search icon in the top right corner
  2. Follow steps 2 and 3 above!