AdmiralUIKit Views ZeroScreen - admiral-team/admiralui-ios GitHub Wiki

Overview

ZeroScreenView - the component is used to attract the user's attention as a message. A view with title, subtitle and image.

Code

ZeroScreenView(
                image: Asset.Onboarding.one.image,
                title: Constants.title,
                subTitle: Constants.subTitle,
                buttonTitle: Constants.buttonTitle)

You can create a ZeroScreenView with the zero frame rectangle by specifying the following parameters in init:

delegate: ZeroScreenViewDelegate? - The delegate of ZeroScreenView (tap button).
image: Image - The image displayed in the image view.
title: String - The text that the title label displays.
subTitle: String - The text that the subtitle label displays.
buttonTitle: String - The text that the button displays.

Live Example

To run live demo with ZeroScreen open Xcode and run project with Example target. Then in the main page open ZeroScreen/ZeroScreenView:

Contribution

You can help us to find bugs or ask us to add features.

  • To start issue please use ready-made templates.
  • To make changes to the repository, you need to create a fork of the project, make changes to the code and create a pull request in our project. You can read more about this in the Github documentation.