@WeagleWeagle
I have a scenario in which the initialiser to the view passes a value and depending on the value I need to determine the predicate and sort descriptors.
Currently I have an if else statement and then I am setting self._items as suggested by @aharriscrowne
For that scenario, is it ok to set self._items in the initialiser?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: