I am trying to set up protocols and delegates from a view controller through one class to another class, but am very lost.
Basically, I have a viewcontroller a connection class and a parser class. This is the process that happens
The viewcontroller creates a connection class object which queries my db via NSURLConnection class delegates and gets a bunch of data. Then the connection class creatings a parser class object and passes all this data over to be parsed...
what I am not yet able to do is pass the data back from the parser class to the viewcontroller, this is because some how I have to set the delegate of the parser class from the view controller through the connection class object... but have no idea how to do it...
I am hoping someone here can help me.. I have several questions that have culminated to the point in which I have come to the conclusion (with lots of help) that this is my problem.
so the question is - how do I set the protocols and delegates of the parser class object from the viewcontroller via the connection class object.