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 more

    Declaration

    Swift

    public struct Attendee
  • Undocumented

    Declaration

    Swift

    public struct Organizer
  • Undocumented

    See more

    Declaration

    Swift

    public struct VEvent
  • RecurranceRule

    See more

    Declaration

    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 timezones and events.

    Basic usage

    By default a creating a new VCalendar does not require any arguments.

    var calendar = VCalendar()
    calendar.icalString()
    
    BEGIN:VCALENDAR
    PRODID:-//SwiftIcal/EN
    VERSION:2.0
    END:VCALENDAR
    

    Adding Events

    Events can be added by appending to the events property.

    By default adding a VEvent will also timezone definitions for all timezones used in the icalString() If this behaviour is not wanted, it can be disabled by setting autoincludeTimezones to false

    See more

    Declaration

    Swift

    public struct VCalendar