performBatchUpdates(_:)
Animates multiple tab changes as a single update.
Declaration
func performBatchUpdates(_ updates: () -> Void)Discussion
Use this method when you need to make several changes to tab properties simultaneously. Changes made inside the updates block are coalesced into a single animated layout pass, preventing intermediate states from being visible to the user.
The updates block is called synchronously. You can safely read and write any mutable tab properties inside this block.