Structures
The following structures are available globally.
-
An attendee is a User, that is requested to join the event. See RFC 5545 Section 3.8.4.1 for details
See moreDeclaration
Swift
public struct Attendee -
Undocumented
Declaration
Swift
public struct Organizer -
Undocumented
See moreDeclaration
Swift
public struct VEvent -
RecurranceRule
See moreDeclaration
Swift
public struct RecurranceRule -
A VCalendar is the core object. When exchanging data with other clients, they are always embedded inside of a VCalendar. A VCalendar can be seen as a container for other Calendaring and Scheduling objects. It contains
timezonesandevents.Basic usage
By default a creating a new
VCalendardoes not require any arguments.var calendar = VCalendar() calendar.icalString()BEGIN:VCALENDAR PRODID:-//SwiftIcal/EN VERSION:2.0 END:VCALENDARAdding Events
Events can be added by appending to the
eventsproperty.By default adding a VEvent will also timezone definitions for all timezones used in the
See moreicalString()If this behaviour is not wanted, it can be disabled by settingautoincludeTimezonestofalseDeclaration
Swift
public struct VCalendar
Structures Reference