SwitchListView UIKit - admiral-team/admiralui-ios GitHub Wiki

Class

A view object with switch control.


Declaration

public class SwitchListView: BaseListView, TralingListViewComponent, AnyAppThemable

Overview

A cell with switch control at the right edge.

Configure a SwitchListView:

let switchListView = SwitchListView()
switchListView.didSelect = { isOn in
   print(isOn)
}

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.