# Errata for Combine: Asynchronous Programming with Swift 2nd Edition

**URL:** <https://forums.kodeco.com/t/errata-for-combine-asynchronous-programming-with-swift-2nd-edition/126149>\
**Category:** Combine: Asynchronous Programming with Swift\
**Created:** [November 30, 2020, 2:57pm UTC](https://forums.kodeco.com/t/errata-for-combine-asynchronous-programming-with-swift-2nd-edition/126149 "2020-11-30T14:57:50Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mandafrederick](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/mandafrederick/32/102369_2.png) [@mandafrederick](https://forums.kodeco.com/u/mandafrederick)\
**Post date:** [November 30, 2020, 2:57pm UTC](https://forums.kodeco.com/t/errata-for-combine-asynchronous-programming-with-swift-2nd-edition/126149/1 "2020-11-30T14:57:50Z")

</div>

Creating this topic to catch any typos and bugs in the 2nd Edition of Combine: Asynchronous Programming with Swift.

---

<div class="post-metadata">

**Author:** ![mandafrederick](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/mandafrederick/32/102369_2.png) [@mandafrederick](https://forums.kodeco.com/u/mandafrederick)\
**Post date:** [November 30, 2020, 2:57pm UTC](https://forums.kodeco.com/t/errata-for-combine-asynchronous-programming-with-swift-2nd-edition/126149/2 "2020-11-30T14:57:58Z")

</div>

Pinned on November 30, 2020, 2:57pm UTC



---

<div class="post-metadata">

**Author:** ![xlzhsteven](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/xlzhsteven/32/102075_2.png) [@xlzhsteven](https://forums.kodeco.com/u/xlzhsteven)\
**Post date:** [December 31, 2020, 6:38am UTC](https://forums.kodeco.com/t/errata-for-combine-asynchronous-programming-with-swift-2nd-edition/126149/3 "2020-12-31T06:38:35Z")

</div>

I notice that there are some issues with app in Chapter 20, it seems there are some problem with Yandex free translation service. (Thanks to this post: [Chapter 20: Translation service no longer supports free accounts](https://forums.kodeco.com/t/chapter-20-translation-service-no-longer-supports-free-accounts/118990)) It would be nice if this can be updated and mentioned somewhere in the forum.

---

<div class="post-metadata">

**Author:** ![syedfa](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/syedfa/32/101500_2.png) [@syedfa](https://forums.kodeco.com/u/syedfa)\
**Post date:** [December 31, 2020, 6:43am UTC](https://forums.kodeco.com/t/errata-for-combine-asynchronous-programming-with-swift-2nd-edition/126149/4 "2020-12-31T06:43:32Z")

</div>

@xlzhsteven Thanks very much for sharing this. I do apologize for the inconvenience that this has caused you. Most likely in a new edition, this will be rectified.

@scotteg

---

<div class="post-metadata">

**Author:** ![macdevtll](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/macdevtll/32/102075_2.png) [@macdevtll](https://forums.kodeco.com/u/macdevtll)\
**Post date:** [February 6, 2021, 9:49pm UTC](https://forums.kodeco.com/t/errata-for-combine-asynchronous-programming-with-swift-2nd-edition/126149/5 "2021-02-06T21:49:33Z")

</div>

Chapter 7: I believe that following sentence “… value that doesn’t conform to `Comparable`” should be “… value that doesn’t conform to `Equitable`”.

---

<div class="post-metadata">

**Author:** ![macdevtll](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/macdevtll/32/102075_2.png) [@macdevtll](https://forums.kodeco.com/u/macdevtll)\
**Post date:** [February 8, 2021, 11:12am UTC](https://forums.kodeco.com/t/errata-for-combine-asynchronous-programming-with-swift-2nd-edition/126149/6 "2021-02-08T11:12:49Z")

</div>

Chapter 18: First two `print("subscription2 `… should be `print("subscription1`…  
`

---

<div class="post-metadata">

**Author:** ![afonso](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/afonso/32/109186_2.png) [@afonso](https://forums.kodeco.com/u/afonso)\
**Post date:** [April 7, 2021, 8:36pm UTC](https://forums.kodeco.com/t/errata-for-combine-asynchronous-programming-with-swift-2nd-edition/126149/7 "2021-04-07T20:36:42Z")

</div>

In chapter 7, when describing the `allSatisfy` operator, the operator is described as being greedy. However, the operator will emit `false` and cancel the subscription as soon as the predicate doesn’t pass , making it lazy IMO.

Thank you for the amazing content.

---

<div class="post-metadata">

**Author:** ![ballgeier](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/ballgeier/32/81494_2.png) [@ballgeier](https://forums.kodeco.com/u/ballgeier)\
**Post date:** [May 11, 2021, 6:49pm UTC](https://forums.kodeco.com/t/errata-for-combine-asynchronous-programming-with-swift-2nd-edition/126149/8 "2021-05-11T18:49:01Z")

</div>

In chapter 2, under **Hello Cancellable** , this code is referenced from the Subscriber example:

```
 subscription.cancel()

```

It is said that we are able to call cancel on the subscription because the Subscription protocol inherits from Cancellable. Although it is the case that Subscription inherits Cancellable, the subscription in the code is an instance of AnyCancellable, which does not conform to Subscription (but AnyCancellable does conform to Cancellable, so that seems like the reason we can call cancel on the subscription).

Maybe I am missing the intention of this paragraph, since the paragraph above it acknowledges the subscription is an instance of AnyCancellable. Before checking the documentation, I assumed that the subscription instance was also a Subscription, but now I see it is not.

---

<div class="post-metadata">

**Author:** ![jellodiil](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jellodiil/32/109742_2.png) [@jellodiil](https://forums.kodeco.com/u/jellodiil)\
**Post date:** [September 29, 2021, 1:26am UTC](https://forums.kodeco.com/t/errata-for-combine-asynchronous-programming-with-swift-2nd-edition/126149/9 "2021-09-29T01:26:52Z")

</div>

Closed on September 29, 2021, 1:26am UTC



---

<div class="post-metadata">

**Author:** ![jellodiil](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jellodiil/32/109742_2.png) [@jellodiil](https://forums.kodeco.com/u/jellodiil)\
**Post date:** [September 29, 2021, 1:27am UTC](https://forums.kodeco.com/t/errata-for-combine-asynchronous-programming-with-swift-2nd-edition/126149/10 "2021-09-29T01:27:01Z")

</div>

Unpinned on September 29, 2021, 1:27am UTC


