A "Globall" Struct doesn't have autocompletion
| Originator: | mc | ||
| Number: | rdar://19441457 | Date Originated: | 2015-01-12 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | 6.1.1 |
| Classification: | UI/Usabiblity | Reproducible: | Always |
Lang.swift
public struct printDebug {
init(_ object: AnyObject) {
if DEBUG == 1 {
debugPrint(object)
}
}
}
When I later (in another file) call "printDebug" it works, but I have no autocompletion.
Comments
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!