An open API service indexing awesome lists of open source software.

https://github.com/below/tabletest

An attempt to keep firstResponder after reload
https://github.com/below/tabletest

Last synced: 5 months ago
JSON representation

An attempt to keep firstResponder after reload

Awesome Lists containing this project

README

          

# TableTest

The goal is to make the `TableViewCell_A` become the first responder, and stay the first responder after a `reloadData`. This does not seem to be working.

Any idea is appreciated. Returning `false` in `canResignFirstResponder` will cause the reload to fail, so that's no option :(

## Solution!

@kernandreas pointed me to `tableView:willDisplay cell:forRowAt indexPath:` and this works perfectly!