ArrowWithButtonHeader - admiral-team/admiralui-ios GitHub Wiki
Class
A header with header title, arrow and button.
Declaration
public class ArrowWithButtonHeader: UIView, AnyAppThemable, AccessibilitySupport
Overview
A view that display header, title and button. You can change the style of text by setting headerStyle
.
ArrowWithButtonHeader
Configure a let header = ArrowWithButtonHeader(title: "Title", buttonTitle: "Button", dropDownHeaderType: .down, headerStyle: .body)
ArrowWithButtonHeaderDelegate
:
Handle the tap action on button by adding extension UIViewController: ArrowWithButtonHeaderDelegate {
func tapArrowWithButtonHeaderButton(_ button: UIButton) {
...
}
}
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 apull request
in our project. You can read more about this in the Github documentation.