Hello fellow nerds!
I am want to query a database using NSURLConnection and populate the results into an array. I can do this if i program everything straight into my view controller, but I want to do it in a separate class. So i create the separate class and everything works perfect, except i don’t know how to return the array in the “connectionDidFinishLoading” method.
Someone on another forum said to create a delegate for it, but i don’t know how to do it. I tried to follow this example, but it didn’t work: css.dzone.com/articles/do-not-pu … ating-your
I think i’m missing something. Any help on how to do this?