BeatsKitano / KafkaRefresh

Animated, customizable, and flexible pull-to-refresh framework for faster and easier iOS development.
MIT License
1.21k stars 142 forks source link

Can I create child of KafkaRefreshControl that always will be visible? #33

Closed chapayGhub closed 6 years ago

chapayGhub commented 6 years ago

I need to show table footer view (with copyright text) always in a bottom of tableview The problem when no data in tableview and standart footer showed in a top

Can KafkaRefresh help me?

BeatsKitano commented 6 years ago

Yes. you can call method - (void)endRefreshingAndNoLongerRefreshingWithAlertText:(NSString *)text when no data, no need to create child of KafkaRefreshControl.

BeatsKitano commented 6 years ago

if you create child of KafkaRefreshControl, you need inherit KafkaFootRefreshControl, afterwards,overiding setter method

- (void)setRefreshState:(KafkaRefreshState)refreshState{
  [super setRefreshState:refreshState];
  self.alpha = 1.0;
}

that's ok.