I was wondering how can I detect if a certain day have events using EventKit, without fetching the events. To display something like that:/Users/eng.omarelsayed/Downloads/IMG_D9B141B15D79-1.jpeg
the dots under each day, which represent that this day contain event in it.
EventKit
RSS for tagCreate, view, and edit calendar and reminder events using EventKit and EventKitUI. Request read-only, write-only, or full-access to Calendar data.
Posts under EventKit tag
43 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
I am getting a lot of messages of the nature that follows;
"RoomPlanExampleApp[606:114689] [ClientDonation] (+[PPSClientDonation sendEventWithIdentifier:payload:]) Invalid inputs: payload={
aneModelPath = "/System/Library/PrivateFrameworks/ObjectUnderstanding.framework/PrecompiledModels/od_af_online.bundle/H14G.bundle/main/main_ane/model.hwx";
bundleIdentfier = "com.example.apple-samplecode.RoomPlanExampleApp9QSS565686";
}"
WHAT is the component origin of the message? What can be done to remedy it?
This is another example of an error message that does not have enough information for the developer to take remedial action.
Hey there,
I'd like to ask for guidance on how to open the Apple Calendar app's event programmatically. I can already list events, but I'm struggling to open the calendar detail view (upon user interaction).
I've tried many variants, such as using the x-apple-calevent URL scheme or calshow:\, etc., but none of them worked.
Here's the code I'm using:
if let eventIdentifier = event.eventIdentifier as String?,
let calendarId = event.calendarId as String? {
if let url = URL(string: "x-apple-calevent://\(calendarId)/\(eventIdentifier)") {
NSWorkspace.shared.open(url)
}
}
Once the action is triggered, it tells me that:
There is no application set to open the URL
x-apple-calevent://909114A0-6352-47DB-B70E-2770H7D5B6D3:7q50iih7fvbio3qipk5m7osjig@google.com
Thanks a bunch!
Tom