0 votes
asked in Swift by (8.2k points)

Hi I am using the below to assing the delegate for UITextrField

   titleTextFied.delegate = self 

   but am getting the below error?

Cannot assign value of type 'ViewController' to type 'UITextFieldDelegate?'

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.