AdmiralUIKit Controls SeveralPinButtonStyle - admiral-team/admiralui-ios GitHub Wiki

Overview

The style for creating the Several Pin Button. Several Pin Button - the component displays the position of several objects on the map at one point, exists in three sizes: Small, Medium and Big - use the appropriate one depending on the number of characters.

Code

let button = SeveralPinButton()
button.style = .medium

You can create a SeveralPinButtonStyle by specifying the following parameters in the initializer:

Initializer parameters:
- style - the size. The image is used to set the icon of the element

Live Example

To run live demo with SeveralPinButtonStyle open Xcode and run project with Example target. Then in the main page open Page Controls/SeveralPinButtonStyle:

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.