Xcode autocomplete Swift: awakeFromNib will it be func or class func?

Number:rdar://FB7722564 Date Originated:Jun 2, 2020 at 7:58 PM
Status:Open Resolved:No
Product:Xcode Product Version:11.5
Classification:Suggestion Reproducible:Always
Basic information
Please provide a descriptive title for your feedback:
Xcode autocomplete Swift: awakeFromNib will it be func or class func?
Which area are you seeing an issue with?
What type of feedback are you reporting?
Please describe the issue:
Hi I have a suggestion for improving Swift auto-complete. When typing awakeFromNib (see attached screenshot) auto-complete shows 2 awakeFromNibs in the list. One provides:

override class func awakeFromNib() {

and the other:

override func awakeFromNib() {

As you can see the first is a class method but there was no way to know that from the auto-complete list. It would be a nice improvement if we could see in the list if the method is a class method or an instance method. Perhaps the M icon could have a variation if it is a class method? How about small m for instance method and captial M for class method?



Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!