I\'m trying to create a class which will let me get requested data from a web service. I\'m stuck on how to return the values.
// FooClass.m
// DataGrabber i
you could implement notifications for your DataGrabber
class that go off any time you receive a certain amount of data (or when the download is finished if you want) and then the notified method (read about Notifications in the documentation) can do any handling you might want.
Note: it'd be helpful if FooClass
was the delegate of DataGrabber