mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-01-11 20:00:26 +01:00
The compiler is unable to type-check this expression in reasonable time #12
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fqclovelal on GitHub (Mar 28, 2025).
Originally assigned to: @ivanvorobei on GitHub.
var body: some View {
ZStack {
ForEach(
self.matrix.flatten.map { IdentifiableIndexedBlock(indexedBlock: $0) }
) { block in
self.createBlock(block.item)
.frame(width: 65, height: 65, alignment: .center)
.position(x: CGFloat(block.index.0) * (65 + 12) + 32.5 + 12,
y: CGFloat(block.index.1) * (65 + 12) + 32.5 + 12)