ReactiveCocoa / ReactiveCocoa

Cocoa framework and Obj-C dynamism bindings for ReactiveSwift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: property 'textValues' requires that 'UITextField

jviney opened this issue · comments

Ran into this issue upgrading to ReactiveCocoa 9.

Property 'textValues' requires that 'UITextField' inherit from 'UISearchBar'

This causes the error:

textField.reactive.textValues.skipNil().observeValues { _ in }

Removing .skipNil() makes it work. Probably related to the text signals becoming non-optional.