SwiftUI
SwiftUI copied to clipboard
The compiler is unable to type-check this expression in reasonable time
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)
.transition(.blockAppear(from: self.blockEnterEdge))
}
}.frame(width: 320, height: 320, alignment: .center)
.background(
Rectangle()
.fill(Color(red:0.72, green:0.66, blue:0.63, opacity:1.00))
).clipped().cornerRadius(6)
}