AdventOfCode2018
Being an iOS Developer I use Swift daily, but still I don't really know and use all the built in features of it. By solving these exercises my goal is to increase my pure Swift skills.
Usage
Docker
# get the latest image
docker pull levivig/adventofcode
# run it in interactive mode
docker run -it levivig/adventofcode /bin/bash
./run.sh 2
macOS
Just open the Xcode project select the target you want and hit run.
The run.sh
script will work too.
Ubuntu
Run any day with the run.sh
script.
run.sh
example
./run.sh 2
Will run the second day.
Versions
macOS
- Swift: 4.2.1
- Xcode: 10.1
- macOS: Mojave 10.14.1
Ubuntu
- Swift: 4.2.1
- Ubuntu: 16.04
Links
- Advent of Code
- the Swift programming language
Awesome AoC
- Awesome AoC is a collection of awesome resources related to the yearly Advent of Code challenge
- Awesome AoC / Swift