Objc.io: advanced alignment part 1
https://talk.objc.io/episodes/S01E291-advanced-alignment-part-1
What did I learn?
I kinda zoned out here
Nice use of generics - good to get more familiar with these
Noted that
@ViewBuilder
is a concept, which I have never seen beforeForEach
and the identifier - they did it two waysstruct Tree<A>: Identifiable
And then have
let id = UUID()
inside the structThis is the proper way
ForEach(thing, UUID: \.0) { }
I haven't looked into the
\.
assignment shortcut yetI think in this instance, maybe it works with
struct Thing
which does not conform toIdentifiable