Day 65 and this sort of thing still gets me:
We can then call that whenever our
selectedItem
property changes, by attaching anonChange()
modifier somewhere inContentView
– it really doesn’t matter where, but attaching it to thePhotosPicker
would seem sensible.
We covered modifiers and building our own much earlier in the course, but I still don’t have a good mental model for how/why you can put some of them anywhere and they’ll work. #100DaysOfSwiftUI