Google’s Swift Style Guide , This style guide is based on Apple’s excellent Swift standard library style and also incorporates feedback from usage across multiple Swift projects within Google. It is a living document and the basis upon which the formatter is implemented.
Triple slash (///) for documentation comments is not enforced.
Because Swift is a relatively new language it’s easier and less time consuming to enforce formatting in the Git pre-commit hook so that it automatically formats added and modified files, for a working example see this repo .
|SketchUp||Mobile||Automatically format added or modified swift files with the swift-format tool using the pre-commit hook.|