RXswift textview change listener implementation swift

 Problem:

I want to implement RXSwift textview change values with listener in iOS swift


Solution:

The below function will print the textview value

                        textview.rx.text

                            .subscribe(onNext: {

                            print("changed text",$0)

                            })


Comments

Popular posts from this blog

store cgpoint in userdefaults iOS swift

libc++abi: terminating due to uncaught exception of type NSException iOS swift