A tool to identify unused code in Swift projects.
--retain-assign-only-property-types
option to retain assign-only properties based on their type.--retain-public
.--retain-public
.--xcargs
option has been removed, and superseded by passing arguments following the --
terminator. E.g periphery scan --xcargs --foo
is now periphery scan -- --foo
. This feature can also be used to pass arguments to swift build
for SwiftPM projects.--retain-objc-accessible
also retains private declarations explicitly attributed with @objc
.