#swift
SwiftFormat is a tool that automatically formats Swift code to follow consistent style rules, making your code cleaner and easier to read. It works on macOS, Linux, and Windows, and can be used in many ways: as a command-line tool, an Xcode extension, a build phase, or a Git pre-commit hook. It fixes issues like spacing, redundant code, and style deviations without changing your code’s behavior. You can customize its rules and options via config files or command-line arguments. Using SwiftFormat saves time, avoids style arguments in teams, and helps maintain a professional, uniform codebase effortlessly.
https://github.com/nicklockwood/SwiftFormat
#Murmuration#PKM 这个有意思,[《中国的地图每张都是错的》](https://telegra.ph/%E6%AF%8F%E5%BC%A0%E4%B8%AD%E5%9B%BD%E5%9C%B0%E5%9B%BE%E9%83%BD%E6%98%AF%E9%94%99%E7%9A%84%E8%BF%98%E6%98%AF%E6%95%85%E6%84%8F%E7%9A%84-05-15),这是翻译版本。原版在这里 [《Every map of China is wrong》](https://medium.com/@anastasia.bizyayeva/every-map-of-china-is-wrong-bc2bce145db2) 。🤷我说怎么地图啥都飘呢,哈哈哈