My mind grapes

There are two main techniques for deleting UITableViewCells (rows of data) in iOS.

One way is to have the user tap and “edit” button, then present them with the controls to delete items. An example of this is the Safari bookmarks editing feature:

In this example, you have to first tap an edit button to enter “Editing Mode.” Then you tap the red icon that appears on the left side of the cell you want to delete. Then you actually tap the “Delete” button to confirm the action. It’s 3 steps to delete a single item, but it’s obvious that the functionality exists.

The second way is to allow the user to swipe on the UITableViewCell to remove it:

For this functionality, you must first swipe on a cell, and then press the “Delete” button to confirm. Only two actions, which is a little bit more elegant. However, there is no indication given that swipe to delete functionality is available, so the user might get confused how to delete items in the table (or if the functionality is present at all!).



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Tag Cloud

%d bloggers like this: