Implementing UITextFieldDelegate with Swift

前端 未结 12 1238
后悔当初
后悔当初 2020-12-08 08:11

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?

12条回答
  •  南方客
    南方客 (楼主)
    2020-12-08 08:53

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

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

提交回复
热议问题