Asynchronous-Programming-with-SwiftUI-and-Combine
Asynchronous-Programming-with-SwiftUI-and-Combine copied to clipboard
Literal initializers should not be called directly.
I found a typo in Asynchronous Programming with SwiftUI and Combine.
- Edition: 1st
- Page: 313
What is wrong
init(integerLiteral:) is part of the compiler glue to support literals in swift. The documentation states that those initializers should not be called directly.

What's the correct spelling
Not actually certain, but there must be some other way of achieving the same. 😊