Beanwah Beanwah - 4 months ago 24
iOS Question

Implementing UITextFieldDelegate with Swift

I have my ViewController class which implements UITextFieldDelegate. I have no auto complete for the funcs such as textFieldShouldBeginEditing. Is this a bug in XCode 6? Here's my class implementation.

class ViewController: UIViewController, UITextFieldDelegate


Xcode 6 (Beta 1) is not currently supporting autocomplete for non-implemented protocol methods/properties (for Swift).

Your best bet is to <CMD> - click on the protocol that isn't yet fully implemented to see what you're missing.