SwiftUI Essentials - iOS 16 Edition Errata

SwiftUI Essentials - iOS 16 Edition was published on September 14, 2022. The current revision is 1.0a. The revision of your copy of the book can be found in the copyright page at the start of the book.

Known Issues with Revision 1.0

Chapter 31 - Section 31.7 Designing the Content View

The code second code block in this section incorrectly reads as follows:

    var body: some View {
        List {
            ForEach (carStore.cars) { car in
                ListCell(car: carStore.cars[i])
        }
      }
    }
}

The above code should be replaced with the following:

    var body: some View {
        List {
            ForEach (0..<carStore.cars.count, id: \.self) { i in
                ListCell(car: carStore.cars[i])
            }
        }
    }
}

If you have encountered an issue with the book not listed above please contact us as at [email protected] and we will work to resolve the issue for you as quickly as possible.



Featured Titles


$29.99$29.99$29.99$9.99
Tell me more... Tell me more... Tell me more... Tell me more...

$29.99$9.99$9.99$24.99
Tell me more... Tell me more... Tell me more... Tell me more...