Created
April 11, 2022 09:12
-
-
Save GemmaDelOlmo/e343459757627facaa7462b3895f4949 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Foundation | |
| import UIKit | |
| extension UITableView { | |
| public func reloadData(completion:@escaping ()->()) { | |
| UIView.animate(withDuration: 0, animations: reloadData) | |
| { _ in completion() } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment