I'm working to build one feature in an app written in Objective-C. I can't post code but I will try to be descriptive with my world. The problem i'm facing is related to delegates.
AlphaViewControllerhasConnectionViewas one of itsdelegate. It helps to add perform some operation on data provided toAlphaViewControllerand we show output onAlphaViewController'sview.When you click on a button in
AlphaViewController, I show anUIAlertController. From which I can click a button to openReportView.BetaViewControllercreatesReportView.BetaViewControllerhasReportGeneratoras itsdelegate.ReportGeneratorhelps to generate some HTML which I render inBetaViewController'sview.
My problem is that, I wanna use ConnectionView's output (which I believe is part of ConnectionView object in AlphaViewController), in ReportGenerator to process it and then render data in HTML in BetaViewController's view.
I've been messing around to find a solution but haven't been able to figure out anything. I'm not good with delegates.
Please assist me to achieve my goal here. I'm sorry that I can't post the code.