scripts/style.sh is based on clang-format and we have it set up to format our Objective-C, Objective-C++, and C++ code. Extending this to format .swift files broke them horribly.
SwiftFormat looks promising. We should integrate it into scripts/style.sh for swift sources.