TKCalendarManager

public class TKCalendarManager : NSObject
extension TKCalendarManager: TKAutocompleting
extension TKCalendarManager: TKPermissionManager

Undocumented

  • Undocumented

    Declaration

    Swift

    @objc(sharedInstance)
    public static let shared: TKCalendarManager
  • Undocumented

    Declaration

    Swift

    @objc
    public private(set) var eventStore: EKEventStore { get }
  • Undocumented

    Declaration

    Swift

    public var openSettingsHandler: (() -> Void)?
  • <event title> (<weekday, <month> <day> from/till <time>)

    Declaration

    Swift

    public static func title(for event: EKEvent) -> String
  • Undocumented

    Declaration

    Swift

    @objc(fetchEventsBetweenDate:andEndDate:fromCalendars:)
    public func fetchEvents(start: Date, end: Date, from calendars: [EKCalendar]? = nil) -> [EKEvent]
  • Fetches and returns all the users events between (roughly) yesterday and 1 week from now.

    Declaration

    Swift

    public func fetchUpcomingEvents(from calendars: [EKCalendar]? = nil) -> [EKEvent]
  • Undocumented

    Declaration

    Swift

    public func fetchEvents(matching string: String) -> [EKEvent]
  • Undocumented

    Declaration

    Swift

    public var allowLocationInfoButton: Bool { get }
  • Declaration

    Swift

    public func autocomplete(_ input: String, near mapRect: MKMapRect, completion: @escaping (Result<[TKAutocompletionResult], Error>) -> Void)
  • Declaration

    Swift

    public func annotation(for result: TKAutocompletionResult, completion: @escaping (Result<MKAnnotation?, Error>) -> Void)
  • Declaration

    Swift

    @objc
    public func additionalActionTitle() -> String?
  • Undocumented

    Declaration

    Swift

    public func triggerAdditional(presenter: UIViewController, completion: @escaping (Bool) -> Void)

TKPermissionManager overrides