/DZNEmptyDataSet_Xamarin

Xamarin.iOS binding library for DZNEmptyDataSet

Primary LanguageObjective-CMIT LicenseMIT

DZNEmptyDataSet_Xamarin

Version Status

Port of Xamarin iOS of the DZNEmptyDataSet

NuGet

The Empty Data Set Pattern

Also known as Empty State or Blank Slate.

Most applications show lists of content (data sets), which many turn out to be empty at one point, specially for new users with blank accounts. Empty screens create confusion by not being clear about what's going on, if there is an error/bug or if the user is supposed to do something within your app to be able to consume the content.

Please read this very interesting article about Designing For The Empty States.

Screenshots_Row1 Screenshots_Row2 (These are real life examples, available in the 'Applications' sample project in the v2-Swift branch)

Empty Data Sets are helpful for:

  • Avoiding white-screens and communicating to your users why the screen is empty.
  • Calling to action (particularly as an onboarding process).
  • Avoiding other interruptive mechanisms like showing error alerts.
  • Being consistent and improving the user experience.
  • Delivering a brand presence.

Features

  • Compatible with UITableView and UICollectionView. Also compatible with UISearchDisplayController and UIScrollView.
  • Gives multiple possibilities of layout and appearance, by showing an image and/or title label and/or description label and/or button.
  • Uses NSAttributedString for easier appearance customisation.
  • Uses auto-layout to automagically center the content to the tableview, with auto-rotation support. Also accepts custom vertical and horizontal alignment.
  • Background color customisation.
  • Allows tap gesture on the whole tableview rectangle (useful for resigning first responder or similar actions).
  • For more advanced customisation, it allows a custom view.
  • Compatible with Storyboard.
  • Compatible with iOS 6, tvOS 9, or later.
  • Compatible with iPhone, iPad, and Apple TV.
  • App Store ready

How to use

Please reference this sample project