DayButton

public class DayButton : UIButton

Each day is represented by a button. This allows us to associate a DateItem with the button, and customize its display

  • The date item associated with this instance. Remember that we are using reference emantics for the date items.

    Declaration

    Swift

    public var dateItem: RVS_CalendarInputDateItemProtocol? { get set }
  • Overriden, so we change the colors.

    Declaration

    Swift

    public override var isHighlighted: Bool { get set }
  • Called when the views are being laid out.

    Declaration

    Swift

    public override func layoutSubviews()