Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-9944] Do not override UIResponder chain for touchDelegate #2698

Merged
merged 7 commits into from Aug 11, 2012
Merged

[TIMOB-9944] Do not override UIResponder chain for touchDelegate #2698

merged 7 commits into from Aug 11, 2012

Conversation

vishalduggal
Copy link
Contributor

Test is in JIRA

See the video mentioned in the comments to reproduce the issue.

- (void) reloadAndRestoreSelection
{
NSIndexPath* curSelected = [[self tableView] indexPathForSelectedRow];
[[self tableView] reloadData];
Copy link
Contributor

Choose a reason for hiding this comment

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

Okay, this scares me. ReloadData is VERY expensive and worse yet, has in the past stomped on interface state machines and caused tables to become unresponsive. Are you sure reloadData is needed?

@vishalduggal
Copy link
Contributor Author

TableView will internally only redisplay rows that are visible so it should not be very expensive, however I see an issue here when table is editing or moving at which point it would cause problems. Hold off on FR

@vishalduggal
Copy link
Contributor Author

Ready for review

@WhichKatieDid
Copy link
Contributor

CR passed, but will be checking to see why we had that touchDelegate in the first place.

@WhichKatieDid
Copy link
Contributor

FR passed. merging.

WhichKatieDid added a commit that referenced this pull request Aug 11, 2012
[TIMOB-9944] Do not override UIResponder chain for touchDelegate
@WhichKatieDid WhichKatieDid merged commit 61078b0 into tidev:master Aug 11, 2012
@vishalduggal vishalduggal deleted the timob-9944 branch October 27, 2014 19:23
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.

None yet

2 participants