Errata for Swift Apprentice 7th Edition

Creating this topic to catch any typos and bugs in the 7th Edition of Swift Apprentice.

Chapter 2: Types & Operations - Challenge No. 6

let tuple = (100, 1.5, 10)
let value = tuple.1

let value = tuple.1 // value = 1.5 of type Double

not // value = 8 of type Double

Chapter 18: XCTFail and XCTSkip

Duplication of the text.

Screenshot 2021-12-16 at 21.51.46

Chapter 14 . Advanced classes
Inheritance, methods and overrides.

For example, you saw that the Student class can add additional properties and methods to handle a student’s grades. These properties and methods are available to any Person class instances but fully available to Student subclasses.

person es a super class for class Student, so Student additional properties and methods are NOT available to any Person class instances, but fully available to STUDENT subclasses .

This topic was automatically closed after 166 days. New replies are no longer allowed.