3

I'm using a TTTableViewController with a TTURLRequestModel and implemented the "Drag to refresh" feature with these lines in my ViewController:

- (id<UITableViewDelegate>)createDelegate {
    return [[[TTTableViewDragRefreshDelegate alloc] initWithController:self] autorelease];
}

What is the right way to change the displayed text? Is it possible to change the arrow-icon too?

Thanks!

d4n13l
  • 263
  • 2
  • 6

1 Answers1

2

I would say, the cleanest way to do it, is to extend both TTTableHeaderDragRefreshView and TTTableViewDragRefreshDelegate to your own classes and override the- (void)setStatus:(TTTableHeaderDragRefreshStatus)status private function.

You can "hack" this change by changing the value of three20 localized strings and the update arrow in the Three20.Bundle file.

aporat
  • 5,922
  • 5
  • 32
  • 54