ScheduleType

public struct ScheduleType : OptionSet

e.g. public extension ScheduleTypes { static let YourOwnSchedule = ScheduleType( rawValue: 0b00000000_00000000_00000000_00000000_0000000000000000_0000000000000000, shortName: , longName: ) }

  • The raw value of the option set

    Declaration

    Swift

    public let rawValue: UInt64
  • Short name

    Declaration

    Swift

    public let shortName: String
  • Long (full) name

    Declaration

    Swift

    public let longName: String
  • Declaration

    Swift

    public init(rawValue: UInt64)
  • Undocumented

    Declaration

    Swift

    public init(rawValue: UInt64, shortName: String, longName: String)
  • Undocumented

    Declaration

    Swift

    public static let extinction: ScheduleType
  • Fixed ratio

    Declaration

    Swift

    public static let fixedRatio: ScheduleType
  • Variable ratio

    Declaration

    Swift

    public static let variableRatio: ScheduleType
  • Random ratio

    Declaration

    Swift

    public static let randomRatio: ScheduleType
  • Fixed interval

    Declaration

    Swift

    public static let fixedInterval: ScheduleType
  • Variable interval

    Declaration

    Swift

    public static let variableInterval: ScheduleType
  • Random interval

    Declaration

    Swift

    public static let randomInterval: ScheduleType
  • Fixed time

    Declaration

    Swift

    public static let fixedTime: ScheduleType
  • Variable time

    Declaration

    Swift

    public static let variableTime: ScheduleType
  • Random time

    Declaration

    Swift

    public static let randomTime: ScheduleType
  • A Boolean value indicating whether the element has extinction feature

    Declaration

    Swift

    func hasExtinctionSchedule() -> Bool
  • A Boolean value indicating whether the element has fixed feature

    Declaration

    Swift

    func hasFixedSchedule() -> Bool
  • A Boolean value indicating whether the element has variable feature

    Declaration

    Swift

    func hasVariableSchedule() -> Bool
  • A Boolean value indicating whether the element has random feature

    Declaration

    Swift

    func hasRandomSchedule() -> Bool
  • A Boolean value indicating whether the element has ratio feature

    Declaration

    Swift

    func hasRatioSchedule() -> Bool
  • A Boolean value indicating whether the element has interval feature

    Declaration

    Swift

    func hasIntervalSchedule() -> Bool
  • A Boolean value indicating whether the element has time feature

    Declaration

    Swift

    func hasTimeSchedule() -> Bool