- animation duration
- complition block
- failure block
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
GMLoadingTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:[GMLoadingTableViewCell cellIdentifier]];
cell.label.text = @"Cell text"
cell.animationDuration = 2;
cell.completionBlock = ^{
NSLog(@"Done!");
};
cell.failureBlock = ^{
NSLog(@"Fail!");
};
return cell;
}- (NSIndexPath *)tableView:(UITableView *)tableView willSelectRowAtIndexPath:(NSIndexPath *)indexPath {
return nil;
}
- (NSIndexPath *)tableView:(UITableView *)tableView willDeselectRowAtIndexPath:(NSIndexPath *)indexPath {
return nil;
}