Removing dead code part 2 (#2235)

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
This commit is contained in:
Mauro
2023-12-15 20:16:16 +01:00
committed by GitHub
parent 2f88d39789
commit 123164f398
91 changed files with 64 additions and 694 deletions
@@ -50,11 +50,6 @@ struct LayoutSubviewsMock: Equatable, RandomAccessCollection {
subscript(bounds: Range<Int>) -> LayoutSubviewsMock {
LayoutSubviewsMock(subviews: Array(subviews[bounds]))
}
/// Gets the subview proxies with the specified indicies.
subscript<S>(indices: S) -> LayoutSubviewsMock where S: Sequence, S.Element == Int {
LayoutSubviewsMock(subviews: Array(indices.map { subviews[$0] }))
}
}
/// A mock of the SwiftUI `LayoutSubview` struct