I am a beginner in swift. I have
class A : UIViewController {
var textInput: UITextInput
init(textInput: UITextInput) {
self.textInput = textInput
}
func getText() -> String() {
/// Here I need to get the current text from textInput
}
}
How to get it ? Help please. Thanks in advance!!!!