Learning Swift · Part 8 of 8

Day Eight

Done

The Goal

Today is day 8 of learning Swift. I’ve started book four of the documentation “Advanced patterns” here we cover subscripts, inheritance, initialization and deinitialization, optional chaining, error handling and concurrecny. Along with this continue with the L9 of the Stanford youtube video.

Notes:

if let endTime {

}

That is the same as doing

if let endTime = endTime {

}
Text(TimeDataSource<Date>.currentDate, format: .offset(to: startTime, allowedFields: [.minute, .second]))

Important protocols