-
Notifications
You must be signed in to change notification settings - Fork 637
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
[QuickDialogTableView] Set root only after data source and delegate are set #720
Conversation
iOS 9 calls reloadData less agressively than iOS 8 and earlier. If the root of the table view is set too soon (eg. before the data source is set), reloadData may not be called in certain cases, resulting in inconsistencies and inducing crashes.
@escoz I had the crash in another app, this is pretty critical. |
The logic issue fixed here is easy to understand: setting the root property causes |
… delegate are set before setting root. See escoz#720
@escoz - Could you guys please try and merge this. This is fairly a critical issue considering number of devices using iOS 9 now. |
@escoz - I am also seeing a crash due to this issue. It would be great if it could be merged in. |
[QuickDialogTableView] Set root only after data source and delegate are set
Done! Thanks guys, sorry for the delay, it's been busy lately. |
iOS 9 calls
reloadData
less agressively than iOS 8 and earlier. If the root of the table view is set too soon (eg. before the data source is set),reloadData
may not be called in certain cases, resulting in inconsistencies and inducing crashes.