It is really hard (and a bit frustrating) to try to help with the limited information you give and see that the problem is (according to you) in a place you did not show. So please, show comprehensive code if you want more help.
Thanks for the feedback. So your question was more about calling a func from VC2 in VC1. Effectively, in this case, delegation is a very good pattern. I had forgotten this old thread… Another one may be notification.
A good practice on the forum is to tell how you fixed it. Other developers may have spent time to analyse your question, it is fair to explain how you solved.
It is really hard (and a bit frustrating) to try to help with the limited information you give and see that the problem is (according to you) in a place you did not show. So please, show comprehensive code if you want more help.
Thanks for the feedback. So your question was more about calling a func from VC2 in VC1. Effectively, in this case, delegation is a very good pattern. I had forgotten this old thread… Another one may be notification.
A good practice on the forum is to tell how you fixed it. Other developers may have spent time to analyse your question, it is fair to explain how you solved.