[Chapter 12 - 4th edition] There's something wrong here

In the digital version I see this one error

let searchInput = searchCityName.rx
  .map { self.searchCityName.text ?? "" }
  .filter { !$0.isEmpty }

what is “g” after .controlEvent(.editingDidEndOnExit)

and this one:

let search = searchInput
  .flatMapLatest { text in
      .currentWeather(for: text)
  .asDriver(onErrorJustReturn: .dummy)

What’s .dummy?

In chapter 11, it was .empty

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