swift - IOS Autocompletion not working on RxCocoa Xcode 8.3 -
i'm having problem rxswift , rxcocoa. have update latest version 3.3 , xcode 8.3 there problem autocomple feature rxcocoa.
everytime write textfield.rx.text. there no autocomple
import uikit import rxswift import rxcocoa class firstviewcontroller: uiviewcontroller { @iboutlet weak var textfield2: uitextfield! @iboutlet weak var textfield1: uitextfield! var textfield1observerble: driver<string?>! var textfield2observerble: driver<string?>! override func viewdidload() { super.viewdidload() // additional setup after loading view, typically nib. textfield1.rx.text. } override func didreceivememorywarning() { super.didreceivememorywarning() // dispose of resources can recreated. }
}
anyone have problem rxcocoa autocompletion? how can fix that. many thanks.
there workaround:
you add asobservable()
@ end , use dot operator auto complete suggestion following:
textfield1.rx.text.asobservable().
Comments
Post a Comment