auto complete when overriding objc methods

已回答

If i extend a class (e.g. UIVewController or one of my own Obj C classes) in swift and then try and override a method then I don't get any auto complete suggestions and can't force them with ctrl-space.

 

e.g. if I have:

class FSCMockk: UIViewController {
override func vie
}

I'd expect it to being up items like viewDidAppear. Should I be seeing these or is it not implemented. It's a pain not having it, especially with complete methods that take blocks

0
Avatar
Permanently deleted user
正式评论

For the moment this feature is not implemented. Please, use Ctrl+O/Ctrl+I in Swift (Override/Implement). 

请先登录再写评论。