RSDFrequencyType
public enum RSDFrequencyType : String, CaseIterable
The frequency type can be used to indicate the frequency with which to do something within the app.
-
Is the given date range within the duration window for the given frequency?
Declaration
Swift
public func withinDuration(between date1: Date, and date2: Date) -> Bool
Return Value
true
ifdate1 + frequency > date2
-
Declaration
Swift
public init(stringLiteral value: String)