DZNEmptyDataSet for iOS by Ignacio Romero Z.

Download Source
by 8 people

(Click the stars to add your rating)

Selected as a Control of the Week

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. The -reloadData call will be observed so the empty dataset will be configured whenever needed. It is (extremely) important to set the dataSetSource and dataSetDelegate to nil, whenever the view is going to be released. This class uses KVO under the hood, so it needs to remove the observer before dealocating the view.

Sponsored with ❤️ by Instabug
Squash bugs in less than a minute
Tired of wasting time debugging your mobile app? Instabug's SDK is here to help you minimize your debugging time by providing you with complete device details, network logs, and reproduction steps with every bug report. All data is attached automatically. It only takes one minute to setup. Get started for free.