Open zutrinken opened 10 years ago
Unfortunately, the swipe-to-delete mechanism used in Mail.app is a private API that is not available to other application. If we want to use it, we'd have to use a custom implementation, see https://gist.github.com/steipete/10541433 for options.
If we want to go with default iOS API, we'd need to add an "Edit" button that puts the whole table into edit mode. In edit mode, minus signs are shown on the left of every cell. Clicking them causes a big red delete button to appear on the right, that can be clicked to finally delete the item.
Ah, no, i was mistaken. Swipe to delete is public API, only the More-Button in Mail.app is not.
If you have participated a nearby conversation and left that place, the conversation still should be visible. It’s like an archive without the possibility to chat. Past conversations should be grayed out and have and extra label called "archive".
The same behavior could fit for deleted contacts or groups. If you delete a group or contact, you get a dialog, if you want to keep the conversation. If you keep it, it will slip to the bottom of your conversation list and will be grayed out plus an extra label called "archive" or "deleted".
You can delete conversations like in iOS7 Mail or iMessage. You swipe the cell to the left and a delete button appears.