I’ve a perform calling in a view:
ProgressView(myinfo :"Particulars goes right here")
Beneath is my ProgressView perform
struct ProgressView: UIViewRepresentable {
func makeUIView(context: UIViewRepresentableContext<ProgressView>) -> CustomProgressView {
CustomProgressView()
}
func updateUIView(_ uiView: CustomProgressView, context: UIViewRepresentableContext<ProgressView>) {}
}
which is once more calling a unique perform
CustomProgressView()
My requirement is to move a knowledge of myinfo from perform ProgressView to until CustomProgressView().
Is it attainable to realize this, please let me understand how I could make it attainable