swiftui-notes icon indicating copy to clipboard operation
swiftui-notes copied to clipboard

map can be used to explicitly extract on a keypath

Open heckj opened this issue 5 years ago • 0 comments

A detail that I think got missed in my writing - there's a series of methods for explicitly extracting values via a KeyPath using map.

There are variants for accepting 1, 2 and 3 keypaths. (multiple keypaths return as a tuple)

heckj avatar Mar 11 '20 01:03 heckj