What is CleanClosureXcode?

Clean Closure is a simple Xcode Source Editor Extension for Xcode 8. It parses each line of a file to simplify the syntax of closures in your Swift code by removing the useless ().

The code is pretty straighforward and it uses a NSRegularExpression to find out where a closure is by looking for (, ) and in characters.

Overview