Hide Delete Button While Keeping Swipe to Delete Functionality

Ran into an issue in iOS 7 were the ImageView in a UITableViewCell would resize and cover the delete button after pressing the delete button in editing mode. Here was the workaround I found to just disable the “-” delete button in UITableView’s editing mode but maintain its swipe to delete functionality, just drop this snippet in your TableView’s controller:

– (UITableViewCellEditingStyle)tableView:(UITableView *)TableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath

{

    if (self.editing)

    {

        return UITableViewCellEditingStyleNone;

    }    

    return UITableViewCellEditingStyleDelete;

}

 

Goodbye Nemo

On April 22nd we had to put down our wonderful two and a half year old cat Nemo. It has probably been one of the toughest things I have ever done in my life so far and I still think about him everyday. No cat will ever replace Nemo’s spot in our hearts and I’m still having trouble writing this seven months after it happened.

Thank you so much Nemo for all the smiles, the biscuits you made on us, and all the laughs from watching you do things like pushing open doors and sleeping in cabinets. Goodbye buddy, we will never forget you. 

Love, 

Andrew, Carly, Milkshake, Bloo, Chowder, Panini, Flapjack, and Kiwi