Re: Avoid selection marking on cell tap
Re: Avoid selection marking on cell tap
- Subject: Re: Avoid selection marking on cell tap
- From: Rick Mann <email@hidden>
- Date: Tue, 24 Nov 2015 16:04:22 -0800
> On Nov 24, 2015, at 16:00 , Quincey Morris <email@hidden> wrote:
>
> On Nov 24, 2015, at 15:38 , Rick Mann <email@hidden> wrote:
>
>> Our selection marking doesn't really work for the tap that segues into the detail view. We only use the selection marking when in edit mode (e.g. deleting a bunch of items).
>
> I believe the old iOS HIG used to say that you’re supposed to let the cell be selected on a tap, then unselect it when you handle the resulting action**, resulting in a highlight “flash”. That gives visual feedback that you hit the thing you were aiming for. I believe (again and separately) that the original intent for something like edit mode is that tapping an item to delete would have this temporary selection highlight behavior, but then the item would get an accessory icon like a check mark, to indicate that it was going to be deleted.
>
> I believe (sorry) that many apps have always ignored this approach, and left cells selected to indicate that they were marked for whatever action was about to happen, so your current delete action selection highlighting is now pretty mainstream.
>
> The upshot is that I believe you should probably allow the cell to become selected, and turn off the selection before, during or after the segue, as convenient.
>
> The new HIG doesn’t say much about anything, so I don’t know if there is a new behavioral standard for this sort of thing.
The iOS Photos app is a perfect example of the behavior I've been asked to implement.
>
>> I can probably do it by iterating all the cells and changing their mode, but this seems inelegant.
>>
>> Is there another way?
>
> If you don’t want the cells to highlight for a segue, then I believe the correct approach is to change the cell highlight mode.
I'll try to deselect the cell as soon as the segue is triggered. Blugh.
--
Rick Mann
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden