Beanwah Beanwah - 1 year ago 176
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

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download