It isn’t possible at present:
Yes, there are tools like Refactorator I can add to Xcode to provide this, but this goes against my minimalist/cheap approach, and frankly, unless it’s something on the order of JetBrains’ ReSharper, why bother? Well, there *is* JetBrains’ AppCode, and maybe I’ll check it out when I’m past the inflection point on the Swift learning curve, but $200 more into what is at present a hobby is hard to justify.
Ugh, just ran into an ugly bug in my code, and I can’t find a way to have the Swift compiler warn me about it. My class has a property named progressView –
var progressView: UIProgressView!
– and I inadvertently aliased it with a local constant in a function –
let progressView = UIProgressView(progressViewStyle: .default)
– with the net result that I crashed in KVO code because the progressView property was nil.