SelectionButton

open class SelectionButton : UIButton

Undocumented

Properties

  • Undocumented

    Declaration

    Swift

    open var groupName: String
  • Undocumented

    Declaration

    Swift

    override open var isSelected: Bool { get set }
  • Undocumented

    Declaration

    Swift

    open var delegate: SelectionButtonDelegate?
  • Undocumented

    Declaration

    Swift

    open var titleColor: UIColor { get set }
  • Undocumented

    Declaration

    Swift

    open var selectedTitleColor: UIColor { get set }
  • Undocumented

    Declaration

    Swift

    open var imageColor: UIColor { get set }
  • Undocumented

    Declaration

    Swift

    open var selectedImageColor: UIColor { get set }
  • Undocumented

    Declaration

    Swift

    open var adjustsImageWithTitle: Bool
  • Undocumented

    Declaration

    Swift

    open var shouldNotify: Bool

Initializers

  • Undocumented

    Declaration

    Swift

    override public init(frame: CGRect)
  • Undocumented

    Declaration

    Swift

    public required init?(coder aDecoder: NSCoder)
  • Undocumented

    Declaration

    Swift

    open func initializeSelectionButton()

Layout

  • Undocumented

    Declaration

    Swift

    override open var intrinsicContentSize: CGSize { get }
  • Undocumented

    Declaration

    Swift

    override open func imageRect(forContentRect contentRect: CGRect) -> CGRect
  • Undocumented

    Declaration

    Swift

    override open func titleRect(forContentRect contentRect: CGRect) -> CGRect

Open Methods

  • Sets up image and title color depending on the value of isChecked

    Declaration

    Swift

    open func setTintColors()
  • Undocumented

    Declaration

    Swift

    open func setTitleColors()
  • Undocumented

    Declaration

    Swift

    open func notifyGroupMembers()
  • Undocumented

    Declaration

    Swift

    open func groupStateDidChange(by selectionButton: SelectionButton)

Actions

  • Undocumented

    Declaration

    Swift

    @objc
    open func didTapButton()
  • Undocumented

    Declaration

    Swift

    @objc
    open func groupStateDidChange(_ notification: Notification)