Skip to content

Instantly share code, notes, and snippets.

@danny005
danny005 / keybase.md
Created September 13, 2019 01:59
keybase.md

Keybase proof

I hereby claim:

  • I am danny005 on github.
  • I am danny005 (https://keybase.io/danny005) on keybase.
  • I have a public key ASBQF19MQVpAxx3koq6cit3sBbnWQ6LSIBJ7LChgXYPfUwo

To claim this, I am signing this object:

@danny005
danny005 / gist:069451cbe13e1b8c5062
Created May 17, 2015 18:27
Support for "deleteButtonTitle" in Appcelerator Titanium ListView
#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");
}