TKCalendarManager

Objective-C

@interface TKCalendarManager : TKPermissionManager

+ (TKCalendarManager *)sharedInstance NS_REFINED_FOR_SWIFT;

@property (nonatomic, strong, nullable) EKEventStore *eventStore;

@property (nonatomic, strong, nullable) id helperGeocoder;

+ (NSString *)titleStringForEvent:(EKEvent *)event;

- (NSArray<EKEvent *> *)fetchEventsMatchingString:(NSString *)string;
  
- (NSArray<EKEvent *> *)fetchEventsBetweenDate:(NSDate *)startDate
                                    andEndDate:(NSDate *)endDate
                                 fromCalendars:(nullable NSArray *)calendarsOrNil;

- (nullable EKEvent *)eventForIdentifier:(NSString *)identifier;

@end
extension TKCalendarManager: TKAutocompleting

Swift

class TKCalendarManager : TKPermissionManager

Undocumented

  • Undocumented

    Declaration

    Objective-C

    + (TKCalendarManager *)sharedInstance NS_REFINED_FOR_SWIFT;

    Swift

    class func __sharedInstance() -> TKCalendarManager
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) EKEventStore *eventStore

    Swift

    var eventStore: EKEventStore? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) id helperGeocoder

    Swift

    var helperGeocoder: Any? { get set }
  • Undocumented

    Declaration

    Objective-C

    + (NSString *)titleStringForEvent:(EKEvent *)event;

    Swift

    class func titleString(for event: EKEvent) -> String
  • Undocumented

    Declaration

    Objective-C

    - (NSArray<EKEvent *> *)fetchEventsMatchingString:(NSString *)string;

    Swift

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

    Declaration

    Objective-C

    - (NSArray<EKEvent *> *)fetchEventsBetweenDate:(NSDate *)startDate
                                        andEndDate:(NSDate *)endDate
                                     fromCalendars:(nullable NSArray *)calendarsOrNil;

    Swift

    func fetchEventsBetweenDate(_ startDate: Date, andEnd endDate: Date, fromCalendars calendarsOrNil: [Any]?) -> [EKEvent]
  • Undocumented

    Declaration

    Objective-C

    - (nullable EKEvent *)eventForIdentifier:(NSString *)identifier;

    Swift

    func event(forIdentifier identifier: String) -> EKEvent?
  • Declaration

    Swift

    public func autocomplete(_ input: String, near mapRect: MKMapRect) -> Single<[TKAutocompletionResult]>
  • Declaration

    Swift

    public func annotation(for result: TKAutocompletionResult) -> Single<MKAnnotation>
  • Declaration

    Swift

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

    Swift

    public func triggerAdditional(presenter: UIViewController) -> Single<Bool>
  • Declaration

    Swift

    public static let shared: TKCalendarManager