Skip to content

Allow cells to be unhighlighted - #172

Merged
krbarnes merged 2 commits into
masterfrom
unhighlight-cells
Jun 25, 2019
Merged

krbarnes merged 2 commits into
masterfrom
unhighlight-cells

Conversation

@krbarnes

@krbarnes krbarnes commented Jun 24, 2019

Copy link
Copy Markdown
Contributor

When using CanSelectAction you should be able to cancel the selection and have the highlight cell revert to the previous one or none if nothing was selected. The code currently highlights the cell even if you cancel the selection.

This PR saves the original highlight cell and sets it to be highlighted again if the selection is cancelled.

Comment thread FunctionalTableData/TableView/FunctionalTableData+UITableViewDelegate.swift Outdated

@raulriera raulriera left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tophat on the demo app is 🙆‍♂

@krbarnes
krbarnes force-pushed the unhighlight-cells branch 2 times, most recently from d58bd71 to 5e5aa0e Compare June 25, 2019 20:23
@krbarnes
krbarnes force-pushed the unhighlight-cells branch from 5e5aa0e to cfbc5d8 Compare June 25, 2019 20:50
@krbarnes
krbarnes merged commit 4680967 into master Jun 25, 2019
@krbarnes
krbarnes deleted the unhighlight-cells branch June 25, 2019 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants