Sorry for noobness-level of the question.
I saw this answer, where it says
Add something like this to your NSURLConnection delegate
However, the method in question, sendSynchronousRequest:returningResponse:error:
, is a class method. If I understand delegate methods correctly, they use a delegate which is specified when the NSURLConnection
object is initiated.
So, if I have no instance of the class, a delegate can't be used. Did I understand correctly?