UIScrollView(EmptyDataSet) Category Reference
Declared in | UIScrollView+EmptyDataSet.h |
---|
Overview
A drop-in UITableView/UICollectionView superclass category for showing empty datasets whenever the view has no content to display.
It will work automatically, by just conforming to DZNEmptyDataSetSource, and returning the data you want to show.
emptyDataSetSource
The empty datasets data source.
@property (nonatomic, weak) IBOutlet id<DZNEmptyDataSetSource> emptyDataSetSource
Discussion
The empty datasets data source.
Declared In
UIScrollView+EmptyDataSet.h
emptyDataSetDelegate
The empty datasets delegate.
@property (nonatomic, weak) IBOutlet id<DZNEmptyDataSetDelegate> emptyDataSetDelegate
Discussion
The empty datasets delegate.
Declared In
UIScrollView+EmptyDataSet.h
emptyDataSetVisible
YES if any empty dataset is visible.
@property (nonatomic, readonly, getter=isEmptyDataSetVisible) BOOL emptyDataSetVisible
Discussion
YES if any empty dataset is visible.
Declared In
UIScrollView+EmptyDataSet.h
– reloadEmptyDataSet
Reloads the empty dataset content receiver.
- (void)reloadEmptyDataSet
Discussion
Reloads the empty dataset content receiver.
Call this method to force all the data to refresh. Calling -reloadData is similar, but this forces only the empty dataset to reload, not the entire table view or collection view.
Declared In
UIScrollView+EmptyDataSet.h