SBSDKEventQRCode

@interface SBSDKEventQRCode : SBSDKMachineReadableCode

A specific subclass of SBSDKMachineReadableCode that represents a QR codes with iCal compatible events (VCALENDER: VEVENT:).

  • The shared EKEventStore instance which is needed to add events to the calendar.

    Declaration

    Objective-C

    + (EKEventStore *)sharedEventStore;

    Swift

    class func sharedEventStore() -> EKEventStore!
  • Returns a new instance of an EventKit event that can be added to the calendar.

    Declaration

    Objective-C

    @property (readonly, nonatomic) EKEvent *event;

    Swift

    var event: EKEvent! { get }
  • The summary or title of the event.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *summary;

    Swift

    var summary: String! { get set }
  • The location of the event. Can be a rooms name or an adress.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *location;

    Swift

    var location: String! { get set }
  • The notes of the event. A longer description of the event.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *notes;

    Swift

    var notes: String! { get set }
  • url

    The URL of the event. A website regarding the event.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSURL *url;

    Swift

    var url: URL! { get set }
  • The start date and time of the event. Must not be nil.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSDate *startDate;

    Swift

    var startDate: Date! { get set }
  • The end date and time of the event. Is nil if allDay is YES.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSDate *endDate;

    Swift

    var endDate: Date! { get set }
  • Wether the event is an all day event or not. Is set automatically on initialization if the event contains no end date or if start date and end date are equal.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL allDay;

    Swift

    var allDay: Bool { get set }
  • The final timezone the event takes places in.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSTimeZone *timezone;

    Swift

    var timezone: TimeZone! { get set }
  • The recurrence rule of the event.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) EKRecurrenceRule *recurrenceRule;

    Swift

    var recurrenceRule: EKRecurrenceRule! { get set }