Swift does not arrow text in UITextFiled after updated to swift 3

0

I updated XCode to Swift 3 last week and it converted all my code to the Swift 3 version. After this I'm trying to set the text inside a UITextField and it does not work. I have already re-done all the UI connections with the code but it does not work.

When I type within UITextFiled it appears, but when I try to set the text programmatically it does not appear.

@IBOutlet weak var codigoTextField: UITextField!

codigoTextField.text = "3654"
    
asked by anonymous 04.11.2016 / 18:40

1 answer

0

I do not know what happened, but I rebuilt the entire UI and refactored all the connections. Now it worked.

    
08.11.2016 / 18:53