My app helps its user scan hundreds of photos. I want to present a PHPickerViewController so that the user doesn't have to scroll through hundreds of photos to find the next photo they want to scan. The scroll criteria could be a date or assetIdentifier.
@ Published has no getter so a model view would need to already fetch and set the parameter before a subscriber can use it.
I want to have my view model only fetch if the published property is subscribed to.
This would allow not causing a fault until a subscriber actually needs the property. Has anyone done this?
My app helps its user scan hundreds of photos. I want to present a PHPickerViewController so that the user doesn't have to scroll through hundreds of photos to find the next photo they want to scan. The scroll criteria could be a date or assetIdentifier.
@ Published has no getter so a model view would need to already fetch and set the parameter before a subscriber can use it.
I want to have my view model only fetch if the published property is subscribed to.
This would allow not causing a fault until a subscriber actually needs the property. Has anyone done this?