1 Followers
4 Following
11 Posts
Hobbyist iOS developer, spending most of my time focused on SwiftUI on the client side.

Just out of curiosity, does anyone have any insight as to why the #SwiftUI implementation of ForEach requires unique/hashable entities?

I get that it's more efficient to not do the same operation on multiple identical entities, but I had a strange bug where I wanted to draw multiple paths to the screen, and having a matched set caused all paths but the first to be misrendered or not rendered at all.

I fixed the bug, but I'm curious about the design choice. Any perspectives out there?