Asynchronous-Programming-with-SwiftUI-and-Combine icon indicating copy to clipboard operation
Asynchronous-Programming-with-SwiftUI-and-Combine copied to clipboard

[TYPO]

Open stevenschwab opened this issue 2 years ago • 0 comments

I found a typo in Asynchronous Programming 
with SwiftUI and Combine.

  • Edition: 1st
  • Page: 57

What is wrong

Fix the compiler errors by updating the call to ContentView() both in the preview and in BookShelfApp to ContentView(books: sampleBooks)

What's the correct spelling

sampleBooks should be Book.sampleBooks otherwise you get the error: Cannot find 'sampleBooks' in scope

stevenschwab avatar Jan 23 '23 22:01 stevenschwab