Remove dead code found by Periphery on all platforms

Delete declarations that Periphery reports unused on every platform that
compiles them (iOS, macOS, tvOS), including nine views used only by their
own previews. Platform-gated code still used on another platform, device-
only MPV render paths, migration models, CloudKit record names, App
Intents metadata and unused parameters are kept.
This commit is contained in:
Arkadiusz Fal
2026-10-08 23:57:56 +02:00
parent 45e19e6536
commit 4770bbe3b9
141 changed files with 14 additions and 4191 deletions

View File

@@ -113,7 +113,6 @@ func makeGridColumns(count: Int) -> [GridItem] {
/// // Then use:
/// // gridConfig.effectiveColumns - actual column count
/// // gridConfig.isCompactCards - whether to use compact card styling
/// // gridConfig.columns - GridItem array for LazyVGrid
/// // gridConfig.maxColumns - for ViewOptionsSheet
/// ```
struct GridLayoutConfiguration {
@@ -134,9 +133,4 @@ struct GridLayoutConfiguration {
var isCompactCards: Bool {
effectiveColumns >= GridConstants.compactThreshold
}
/// GridItem array for LazyVGrid columns parameter.
var columns: [GridItem] {
makeGridColumns(count: effectiveColumns)
}
}