Created
May 17, 2015 18:27
Support for "deleteButtonTitle" in Appcelerator Titanium ListView
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma mark - Editing Support Delegate Methods. | |
- (NSString *)tableView:(UITableView *)tableView titleForDeleteConfirmationButtonForRowAtIndexPath:(NSIndexPath *)indexPath | |
{ | |
NSString * deleteButtonTitle = [self valueWithKey:@"deleteButtonTitle" atIndexPath:indexPath]; | |
if (deleteButtonTitle == nil) | |
{ | |
deleteButtonTitle = NSLocalizedString(@"Delete",@"Table View Delete Confirm"); | |
} | |
return deleteButtonTitle; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment