Hi,
I'm looking for a way to "monitor/observe" a singleton class I'm using to pass information back from an asynchronous http request. I want to update the UI once I have received and parsed the response. Since iPhone SDK does not have an NSArrayController to monitor my data in the singleton, how can I do an asynchronous UI update?
This is how I have my logic separated:
Singleton: (hold's array with data)
RESTClient: retrieves xml from a remote service and saves to array in singleton
ViewController: need to monitor for changes to singleton's data and update UI via a function
Thank you in advance :)