Hi Guys,
I have a tableView (inside a tab view) that pulls its data from an NSObject datacontroller file. The data contained in this is a list of locations, including the distance from the current location.
I am struggling to find the best way to automatically reload the table data on the event of a data update which is triggered whenever the phone recieves a location update.
Is there a standard way for my datacontroller file to trigger a table reload whenever its data is updated, or would I be better using a time based reload in the tableView (I prefer the concept of data triggered update, with the adjustment coming from setting a distance moved variable).
Thanks.
I have a tableView (inside a tab view) that pulls its data from an NSObject datacontroller file. The data contained in this is a list of locations, including the distance from the current location.
I am struggling to find the best way to automatically reload the table data on the event of a data update which is triggered whenever the phone recieves a location update.
Is there a standard way for my datacontroller file to trigger a table reload whenever its data is updated, or would I be better using a time based reload in the tableView (I prefer the concept of data triggered update, with the adjustment coming from setting a distance moved variable).
Thanks.