Skip to content

gabrielPeart/CleanClosureXcode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clean Closure - Xcode Source Editor Extension

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 RegularExpression to find out where a closure is by looking for (, ) and in characters.

Requirements

Xcode 8.0 🛠

Please run sudo /usr/libexec/xpccachectl and restart your Mac before running the extension if you are on macOS 10.11 El Capitan.

Author

I'm Patrick Balestra. Email: me@patrickbalestra.com Twitter: @BalestraPatrick.

License

CleanClosureXcode is available under the MIT license. See the LICENSE file for more info.

About

An Xcode Source Editor extension to clean the closure syntax.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%