Learn Swift by examples