ICalendarToDo
public struct ICalendarToDo : VComponent
Provide a grouping of calendar properties that describe a to-do.
-
Declaration
Swift
public let component: String
-
In the case of an iCalendar object that specifies a “METHOD” property, this property specifies the date and time that the instance of the iCalendar object was created. In the case of an iCalendar object that doesn’t specify a “METHOD” property, this property specifies the date and time that the information associated with the calendar component was last revised in the calendar store.
Declaration
Swift
public var dtstamp: Date
-
This property defines the persistent, globally unique identifier for the calendar component.
Declaration
Swift
public var uid: String
-
This property defines the access classification for a calendar component.
Declaration
Swift
public var classification: String?
-
This property specifies the date and time that the calendar information was created by the calendar user agent in the calendar store.
Note: This is analogous to the creation date and time for a file in the file system.
Declaration
Swift
public var created: Date?
-
This property defines the date and time that a to-do was actually completed.
Declaration
Swift
public var completed: Date?
-
This property specifies when the calendar component begins.
Declaration
Swift
public var description: String?
-
This property specifies when the calendar component begins.
Declaration
Swift
public var dtstart: ICalendarDate?
-
This property specifi9es information related to the global position for the activity specified by a calendar component.
Declaration
Swift
public var geo: ICalendarGeographicPosition?
-
This property specifies the date and time that the information associated with the calendar component was last revised in the calendar store.
Note: This is analogous to the modification date and time for a file in the file system.
Declaration
Swift
public var lastModified: Date?
-
This property defines the intended venue for the activity for the activity.
Declaration
Swift
public var location: String?
-
This property defines the organizer for a calendar component.
Declaration
Swift
public var organizer: String?
-
This property is used by an assignee or delegatee of a to-do to convey the percent completion of a to-do to the “Organizer”.
Declaration
Swift
public var percentComplete: Int?
-
This property defines the relative priority for a calendar component.
Declaration
Swift
public var priority: Int?
-
This property defines the revision sequence number of the calendar component within a sequence of revisions.
Declaration
Swift
public var seq: Int?
-
This property defines the overall status or confirmation for the calendar component.
Declaration
Swift
public var status: String?
-
This property defines a short summary or subject for the calendar component.
Declaration
Swift
public var summary: String?
-
This property defines a Uniform Resource Locator (URL) associated with the iCalendar object.
Declaration
Swift
public var url: URL?
-
This property specifies the date and time that a calendar component ends.
Must have the same ‘ignoreTime’-value as tstart. Mutually exclusive to ‘duration’.
Declaration
Swift
public var due: ICalendarDate? { get set }
-
This property specifies a positive duration of time.
Mutually exclusive to ‘due’.
Declaration
Swift
public var duration: ICalendarDuration? { get set }
-
This property is used in conjunction with the “UID” and “SEQUENCE” properties to identify a specific instance of a recurring “VEVENT”, “VTODO”, or “VJOURNAL” calendar component. The property value is the original value of the “DTSTART” property of the recurrence instance.
Declaration
Swift
public var recurrenceId: Date?
-
This property defines a rule or repeating pattern for recurring events, to-dos, journal entries, or time zone definitions.
Declaration
Swift
public var rrule: ICalendarRecurrenceRule?
-
Undocumented
Declaration
Swift
public var alarms: [ICalendarAlarm]
-
Declaration
Swift
public var children: [VComponent] { get }
-
Declaration
Swift
public var properties: [VContentLine?] { get }
-
init(dtstamp:
uid: classification: created: completed: description: dtstart: geo: lastModified: location: organizer: percentComplete: priority: seq: status: summary: transp: url: due: duration: recurrenceId: rrule: alarms: ) Undocumented
Declaration
Swift
public init( dtstamp: Date = Date(), uid: String = UUID().uuidString, classification: String? = nil, created: Date? = Date(), completed: Date? = nil, description: String? = nil, dtstart: ICalendarDate? = nil, geo: ICalendarGeographicPosition? = nil, lastModified: Date? = Date(), location: String? = nil, organizer: String? = nil, percentComplete: Int? = nil, priority: Int? = nil, seq: Int? = nil, status: String? = nil, summary: String? = nil, transp: String? = nil, url: URL? = nil, due: ICalendarDate? = nil, duration: ICalendarDuration? = nil, recurrenceId: Date? = nil, rrule: ICalendarRecurrenceRule? = nil, alarms: [ICalendarAlarm] = [] )