iOS calendar integration

This commit is contained in:
James Babcock committed 2026-09-19 20:52:36 -07:00
1 parent 50431c7c6f
commit 32063e57cd
18 files changed
+646 -37

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#import <Foundation/Foundation.h>
/** Read-only EventKit bridge. Callbacks are delivered on the main queue. */
@interface FaceclawCalendar : NSObject
+ (instancetype)shared;
@property(nonatomic, copy) void (^changeHandler)(void);
- (BOOL)hasPermission;
- (NSString *)permissionStatus;
- (void)requestPermission:(void (^)(BOOL granted, NSString *error))completion;
- (void)readUpcomingEvents:(NSInteger)maxEvents
windowMs:(double)windowMs
completion:(void (^)(NSString *json, NSString *error))completion;
@end