SCKUnavailableTimeRange

public class SCKUnavailableTimeRange: NSObject, NSSecureCoding

This type can be used to represent (and to make persistent copies of) a break or unavailable time range within a day being represented by a subclass of @c SCKGridView. These values are conform to the Hashable and NSSecureCoding protocols.

  • Initializes a new SCKUnavailableTimeRange object representing a concrete time range within a day.

    Declaration

    Swift

    public init(weekday: Int = -1, startHour: Int = 0, startMinute: Int = 0, endHour: Int = 0, endMinute: Int = 0)

    Parameters

    weekday

    A weekday index for SCKWeekView or -1 for SCKDayView. Default is -1.

    startHour

    The time range’s starting hour. Default is 0.

    startMinute

    The time range’s starting minute. Default is 0.

    endHour

    The time range’s ending hour. Default is 0.

    endMinute

    The time range’s ending minute. Default is 0.

    Return Value

    The initialized SCKUnavailableTimeRange struct.

  • Undocumented

    Declaration

    Swift

    public class SCKUnavailableTimeRange: NSObject, NSSecureCoding
  • Undocumented

    Declaration

    Swift

    public class SCKUnavailableTimeRange: NSObject, NSSecureCoding