Skip to content

matthewellis/swiftNewlineIndenter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Newline Indenter

swiftnewlineIndenter is the switft rewrite of a small utility written in objective-c that fixes the formatting of empty newlines in the same way the Xcode indent command would.

Annimated Demo

#API

##indentFileText This method takes a string of the file to be formatted and will return a correctly indented version.

func indentFile(fileText:String) -> String

About

Swift rewrite of newlineIndener

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages