TheBestClockAlarmViewDelegate

protocol TheBestClockAlarmViewDelegate : AnyObject

The delegate is very simple. We just call it to open the alarm editor.

  • This will be called to open the alarm editor if the button is activated.

    Declaration

    Swift

    func openAlarmEditor(_ alarmIndex: Int)

    Parameters

    alarmIndex

    The 0-based index of the alarm to be edited (0-2).