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
<labelopaque="NO"userInteractionEnabled="NO"contentMode="left"horizontalHuggingPriority="251"verticalHuggingPriority="251"text="Click to delete"textAlignment="center"lineBreakMode="tailTruncation"baselineAdjustment="alignBaselines"adjustsFontSizeToFit="NO"translatesAutoresizingMaskIntoConstraints="NO"id="BEj-6c-73Q">
##### 3. Data source events (inserting, deleting, and reloading)
103
+
TBEmptyDataSet will update automatically when the data source of table view or collection view changes.
104
+
105
+
Specifically, for UITableView, it updates when ```endUpdates()``` is called, for both UITableView and UICollectionView, it updates when ```reloadData()``` is called.
106
+
107
+
In addition, you can call ```updateEmptyDataSetIfNeeded()``` to force an update immediately. For example:
0 commit comments