You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently found myself in need of a completion handlers when using Differ to run an animation on UITableView. Differ is still using the beginUpdates()/endUpdates() APIs for UITableView which do not support completion handlers. However, since iOS 11, UITableView too supports performBatchUpdates(_:completion:).
I would love to see an overloaded animateRowChanges and animateRowAndSectionChanges which use the performBatchUpdates API and support a completion handler. We can obviously keep the old methods around to support older OSes. Is this something that you would be interested in having in this project, or is this something you already decided against?
The text was updated successfully, but these errors were encountered:
Hi @jenox I accepted #60 recently, which walked this API back out. You can read through the discussion there. To be up front with you, I do very little real-world iOS development these days (my primary development work is on https://revealapp.com/), so I need developers like yourself to point out what's going to be useful (and submit PRs, if you have the time).
What you've proposed sounds reasonable, and I think so long as it's part of a major new release, or gated with availability checks, then using the newer API would be OK.
I recently found myself in need of a completion handlers when using Differ to run an animation on
UITableView
. Differ is still using thebeginUpdates()
/endUpdates()
APIs forUITableView
which do not support completion handlers. However, since iOS 11,UITableView
too supportsperformBatchUpdates(_:completion:)
.I would love to see an overloaded
animateRowChanges
andanimateRowAndSectionChanges
which use theperformBatchUpdates
API and support a completion handler. We can obviously keep the old methods around to support older OSes. Is this something that you would be interested in having in this project, or is this something you already decided against?The text was updated successfully, but these errors were encountered: