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
Receive Detailed Feedback and Debug your iOS App 10x Faster
Instabug helps you collect feedback and bug/crash reports from your users and testers. Comprehensive reports are forwarded to Instabug’s dashboard including device details, network requests and most importantly, the reproduction steps. learn more.