Swift: Things I wish existed

swift-og

Xcode Clippy for Swift

It looks like you’re attempting to define a string. Do you want me to automatically convert all @” constructs to  ?

Do you want me to auto-strip all extraneous parentheses around if-conditionals?

It looks like you’ve added an enumeration prefix? Would you like me to alert you whenever I see these or automatically remove those not needed for type inference?

Would you like to hear me rant about Swift for your entertainment?

One Comment

  • For Objective-C, we use a Xcode plugin that runs Uncrustify when you save the file. Haven’t see something like that for Swift…