In Xcode 16, Apple introduced the ability to format Swift files using Swift Format.The tool is called swift-format and it comes with Xcode 16, so no additional installation is required.Using the Editor -> Structure -> Format File option, users can fix indentation, whitespace, and split long function calls.This feature provides convenience to users who prefer having a built-in formatting tool in Xcode.