private func errorMessage() {
alert(title: "No access to Camera Roll",
text: "You can grant access to Combinestagram from the Settings app")
.subscribe(onDisposed: { [weak self] in
self?.dismiss(animated: true, completion: nil)
_ = self?.navigationController?.popViewController(animated: true)
})
.disposed(by: bag)
}
doesn’t compile because “alert” is a Completable and onDisposed is not a valid parameter. Add “asObservable()” before the subscribe then makes the code work as expected.
I’ve just noticed that as well. Also the snippet after "“Trying out time based filter operators” is missing .asObservable() since the alert returns an Completable