Personnalisé modifier la vue en UITableViewCell tout balayez vers la gauche. Objective-C ou Swift

Comment faire un personnalisé modifier l'affichage dans iOS7 UITableView avec Objective-C comme Evernote ou sur l'Apple app Rappels tout en balayant vers la gauche.
J'ai essayé de mettre une custom editingAccessoryView, mais cela n'a pas fonctionné.

Evernote vue edit:

Personnalisé modifier la vue en UITableViewCell tout balayez vers la gauche. Objective-C ou Swift
Des rappels de vue edit:

Personnalisé modifier la vue en UITableViewCell tout balayez vers la gauche. Objective-C ou Swift

Mon code actuel est

- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath {
    return YES;
}

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath {
    if (editingStyle == UITableViewCellEditingStyleDelete) {
        NSLog(@"delete");
    }
}

J'ai essayé de résoudre le problème: (UITableViewController.h)

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    //make cell

    UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 100, 100)];
    [view setBackgroundColor:[UIColor greenColor]];
    //add Buttons to view

    cell.editingAccessoryView = view;

    return cell;
}

Et la même chose avec: (UITableViewCell)

- (void)willTransitionToState:(UITableViewCellStateMask)state;
- (void)setEditing:(BOOL)editing animated:(BOOL)animated;
- (UIView*)editingAccessoryView;
InformationsquelleAutor ugoarangino | 2013-10-03