This is only going to be of use to the people already traveling down the road of Three20. We are am using TTPostControllerDelegate’s in a lot of our table views to allow us to load data from remote Web Services. Today I was wondering if there was a way for my ViewController to know that the data for its table had arrived. Turns out, there is.
Firstly you need to implement TTModelDelegate.
Secondly you add
- (void)modelDidFinishLoad:(id<TTModel>)model {
[super modelDidFinishLoad:model];
// Do magic here
….
}
into your ViewController.
In case you are wondering there is also a modelDidStartLoad.
Stuart





There are no comments yet