DbAccess question with a webservice
Hi,
I m trying to reorganize my code.. I've learned a lot with this book. Thanks to the author.
My app uses a lot of webservice methods for retrieving data.
I would like to know, how to use the same concept of DBAccess with a webservice.
I mean, instead of using the sqlite database, how to create the same class (DBAccess) with this method ( - (NSMutableArray *) getAllProducts; ) for retrieving the products list from a webservice?
I know how to query the webservice itself, but I can't figure out how to apply it in this case (due to the delegate used by the NSURLConnection).
And by the way, I have another question.
Why within the chapter 11, the Result class has a dealloc section and the same section (the dealloc) doesn't exist within the Product class (chapter 2).
Any help?
Regards
|