CachedMeeting
public class CachedMeeting
Each meeting is an instance, associated with the date of the next occurrence. If the date is nil, or after now, the meeting is queried for the next ocurrence, and that is cached.
-
The meeting is a simple stored property. It needs to be a var, in order to allow date caching (getNextStartDate is mutating).
Declaration
Swift
public var meeting: SwiftBMLSDK_Parser.Meeting
-
This is a smart accessor for the next date. If the date has passed, we fetch it again, before returning it.
Declaration
Swift
public var nextDate: Date { get }
-
This returns true, if the meeting is currently in progress.
Declaration
Swift
public var isInProgress: Bool { get }
-
Initializer. The meeting is immediately asked for the next date.
Declaration
Swift
public init(meeting inMeeting: SwiftBMLSDK_Parser.Meeting)
Parameters
meeting
The meeting instance to be stored here.