title: Cannot assign a value of type 'MyViewController' to a value of type 'UITextFieldDelegate?'
body: <p>Not sure why I am getting this error (title of this issue is the error as shown in screenshot below) when I try to do <code>self.tv_salaryNumber.delegate = self</code>.</p>
  
  <p>My class <code>EarningsVC</code> does in fact inherit the <a href="https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITextFieldDelegate_Protocol/" rel="nofollow noreferrer">UITextFieldDelegate protocol</a>, so cant figure out why getting this error. (You can see that on the right most part of hte window under <code>Quick Help</code> too.</p>
  
  <p><img src="https://i.stack.imgur.com/ZK4IY.png" alt="enter image description here"></p>